Skip to content

Commit

Permalink
Update 12.第十二题.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liberalisman authored Jul 18, 2018
1 parent 5a09714 commit 36483b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Runtime/12.第十二题.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
// 一个 NSObject 实例对象成员变量所占的大小,实际上是 8KB
#import <Objc/Runtime>
Class_getInstanceSize([NSObject Class])
```
//本质是
```objc
size_t class_getInstanceSize(Class cls)
{
if (!cls) return 0;
Expand Down

0 comments on commit 36483b5

Please sign in to comment.