runtime实现原理以及实际开发中的应用

2016-03-07  本文已影响60人  爵笙彦

自己收集了一些这方面的帖子,基本搞懂了,果断分享出来大家一起进步。
runtime 主要是这两个帖子

  1. http://yulingtianxia.com/blog/2014/11/05/objective-c-runtime/
  2. http://tech.glowing.com/cn/objective-c-runtime/

关于里面的代码实现有2个比较不错的博客,可以参考

  1. http://blog.sunnyxx.com
  2. http://www.cnblogs.com/biosli/p/NSObject_inherit_2.html

另外还可以补充其他一些:

  1. http://chun.tips/blog/2014/11/05/bao-gen-wen-di-objective%5Bnil%5Dc-runtime(1)%5Bnil%5D-self-and-super/

  2. http://chun.tips/blog/2014/11/05/bao-gen-wen-di-objective%5Bnil%5Dc-runtime-(2)%5Bnil%5D-object-and-class-and-meta-class/

  3. http://chun.tips/blog/2014/11/06/bao-gen-wen-di-objective%5Bnil%5Dc-runtime(3)%5Bnil%5D-xiao-xi-he-category/

  4. http://chun.tips/blog/2014/11/08/bao-gen-wen-di-objective%5Bnil%5Dc-runtime(4)%5Bnil%5D-cheng-yuan-bian-liang-yu-shu-xing/

就这些基本能搞懂这个runtime的原理了。


来源自网络

上一篇下一篇

猜你喜欢

热点阅读