**class_copyPropertyList**: 返回对象类的属性(@property声明的属性)
**class_copyIvarList**:返回类的所有属性和变量(包括在@interface大括号中声明的变量)
通过runtime获取当前类@property声明的属性列表
|
|
如有问题请留言「Stay hungry. Stay foolish.」
**class_copyPropertyList**: 返回对象类的属性(@property声明的属性)
**class_copyIvarList**:返回类的所有属性和变量(包括在@interface大括号中声明的变量)
通过runtime获取当前类@property声明的属性列表
|
|