Skip to content

Commit 6f59156

Browse files
committed
OC对象的分类1
1 parent f60a802 commit 6f59156

7 files changed

+30
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# 012-OC对象的本质12-内存分配注意点
22
![](http://oriq21dog.bkt.clouddn.com/20180826212621.png)
33

4+
[]()
5+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# 017-OC对象的分类01-instance对象
2+
3+
* instance对象 (实例对象)
4+
* class对象 (类对象)
5+
* meta-class对象 (元类对象)
6+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 018-OC对象的分类02-class对象
2+
> 每个类在内存中有且只有一个class对象
3+
4+
![](media/15354616297041/15354620962927.jpg)
5+
6+
7+
![](http://oriq21dog.bkt.clouddn.com/20180828211252.png)
8+
9+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 019-OC对象的分类03-meta-class对象
2+
3+
**class方法返回的一直都是类对象**
4+
5+
![](http://oriq21dog.bkt.clouddn.com/20180828211838.png)
6+
7+
![](http://oriq21dog.bkt.clouddn.com/20180828212343.png)
8+
20.7 KB
Loading
76.4 KB
Loading

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@
1919
* [012-OC对象的本质12-内存分配注意点](https://github.com/MisterBooo/iOSDeepLearning/blob/master/Markdown/012-OC对象的本质12-内存分配注意点.md)
2020
* [014-OC对象的本质14-libmalloc源码](https://github.com/MisterBooo/iOSDeepLearning/blob/master/Markdown/014-OC对象的本质14-libmalloc源码.md)
2121

22+
## OC对象的分类
23+
24+
* [017-OC对象的分类01-instance对象](https://github.com/MisterBooo/iOSDeepLearning/blob/master/Markdown/017-OC对象的分类01-instance对象.md)
25+
* [018-OC对象的分类02-class对象](https://github.com/MisterBooo/iOSDeepLearning/blob/master/Markdown/018-OC对象的分类02-class对象.md)
26+
* [019-OC对象的分类03-meta-class对象](https://github.com/MisterBooo/iOSDeepLearning/blob/master/Markdown/019-OC对象的分类03-meta-class对象.md)

0 commit comments

Comments
 (0)