An introduction to Objective-C Meta Class
摘要:
An introduction to Objective-C Meta ClassFirst, let's have a look at the base class NSObject.@interface NSObject <NSObject> { //implement protocol NSObject Class isa; //point to meta class, all instances of NSObject share the same meta class.}+ (void)load;+ (void)initialize;- (id)init;+ (i 阅读全文
posted @ 2011-04-19 17:40 宁静的水泡 阅读(604) 评论(0) 推荐(0) 编辑