会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Pegasus_xy
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2016年11月21日
【引】runtime全解析,P2:关于Class 和 MetaClass
摘要: 几个基本的概念: id,id的定义是,typedef struct objc_object { Class isa;} *id; id是指向struct objc_object的一个指针。这个意思是,id是一个指向任何一个继承了NSObject的对象,可以指向任意一个NSObject子类的对象。需要
阅读全文
posted @ 2016-11-21 19:25 Pegasus_xy
阅读(123)
评论(0)
推荐(0)
编辑
【引】runtime全解析,P1:Programming Guide
摘要: h2.Overview Objective-C language defers as many decisions as it can from compile time and link time to runtime.as a principle, it does things dynamica
阅读全文
posted @ 2016-11-21 19:23 Pegasus_xy
阅读(102)
评论(0)
推荐(0)
编辑
公告