objc的一些简单记录

2020-09-18  本文已影响0人  hanqingYang

objc_ivar:成员变量 

                <ivar opaque struct

                <ivar's name

                <ivar's offset

                <ivar's type encoding

                <ivar's type

objc_method:

                        <method_name 方法名

                        <method type 方法类型

                        <method _imp 方法实现(函数指针)

   property_t:

                        <name 属性名称

                        <attributes 修饰

objc_class:

                    <isa指针

                     <name 类名

                      <info 信息

                       <instance size初始尺寸

                        <objc_ivar_list 变量列表

                        <objc_method_list 方法列表

                        <objc_cache 缓存

                        <objc_protocol_list 协议列表

                                    

上一篇 下一篇

猜你喜欢

热点阅读