美文网首页
libextobjc一个提供语言级别各种小功能的库

libextobjc一个提供语言级别各种小功能的库

作者: yhtang | 来源:发表于2016-08-21 17:25 被阅读0次

翻译README

特点

  • 安全的category,添加方法不会覆盖已经有了的方法,为你标记出冲突。
  • 协议具象化,协议添加了默认的方法
  • 简单安全的key paths,在编译的时候检查路劲的正确性
  • 编译时检测对象具有给定的selector
  • @weakify @strongify 简化block 应用
  • @onExit作用域结束清理
  • Algebraic data types generated completely at compile-time, defined using EXTADT.
  • 为category合成property的实例变量
  • Block-based coroutines, using EXTCoroutine.
  • EXTNil, which is like NSNull, but behaves much more closely to actual nil (i.e., doesn't crash when sent unrecognized messages).没细读,还需要参考:nil
  • 大量的扩展和附加函数:
  • 方法注入
  • reflection upon object properties(对象属性反射?内省?)
  • 继承体系检查和方法查找

相关文章

网友评论

      本文标题:libextobjc一个提供语言级别各种小功能的库

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