1.定义对应属性的字符串指针
constchar*aaaa ="_btn";
2.得到属性字符串对应的变量Ivar
Ivarmm =class_getInstanceVariable([selfclass], aaaa);
3.根据Ivar得到对象
idb =object_getIvar(self, mm);
1.定义对应属性的字符串指针
constchar*aaaa ="_btn";
2.得到属性字符串对应的变量Ivar
Ivarmm =class_getInstanceVariable([selfclass], aaaa);
3.根据Ivar得到对象
idb =object_getIvar(self, mm);