摘要:
【objc新老runtime接口类型对比】 1、objc_class->class_t. objc_class,此类型仍有,在OBJC2中,此类型的保留只是为了与OBJC1兼容。 上图看到,在OBJC2中,objc_class只有一个成员变量,isa。此变量存在的意义只是为了与OBJC1兼容。 class接口类型在OBJC2中变成了class_t,在runtime处理时,将objc_class*(即Class)强转成class_t*。 2、objc_method -> method_t。 && objc_method_list -> method_lsit_t 阅读全文
posted @ 2013-04-30 01:43
Tekkaman
阅读(477)
评论(0)
推荐(0)
摘要:
【build objc4 runtime】 1、Get the latest objc4 project codes from www.opensource.apple.com. 2、Open the projetct, compile it, you will get compile error. 3、you need some file to complete the compilation. 1) Create Directory: /tmp/objc.dst/usr/include 2) from libauto project, get auto_zone.h. Put it i.. 阅读全文
posted @ 2013-04-30 01:25
Tekkaman
阅读(1539)
评论(1)
推荐(1)
浙公网安备 33010602011771号