美文网首页
Ivar vs Property

Ivar vs Property

作者: 公爵海恩庭斯 | 来源:发表于2018-01-31 11:37 被阅读67次

    Concepts

    In the field of runtime, there are four concepts about this issue:

    Reference Type Struct Type Description
    Method objc_method An opaque type that represents a method in a class definition.
    Ivar objc_ivar An opaque type that represents an instance variable.
    Category objc_category An opaque type that represents a category.
    objc_property_t objc_property An opaque type that represents an Objective-C declared property.

    Ivar vs Property

    Ivar Property
    nonatomic
    copy
    @protected
    @ package

    参考

    相关文章

      网友评论

          本文标题:Ivar vs Property

          本文链接:https://www.haomeiwen.com/subject/pgjkzxtx.html