美文网首页
runtime用法

runtime用法

作者: GemShi | 来源:发表于2017-02-28 23:40 被阅读26次

    1.监听网络状态

    2.添加分类属性(set / get_assocaite关联)

    3.获取类的成员变量以及属性等(class_copyPropertyList)

    4.MethodSwizzling(AOP面向切面编程)

    5.动态的添加属性和方法(class_addMethod)

    6.解归档(class_copyPropertyList/class_getName)

    相关文章

      网友评论

          本文标题:runtime用法

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