最近来到新公司,发现他们大规模使用了我之前比较回避的hack方式做事情,虽然我自己对这个不是特别感冒,但是还是决定把OC方面的知识学习汇总一下,趁过年的时候把这几部分再次学习一遍
一. OC方面的博客:
1. OC中的类与对象,关于instance class 与 meta class的区别:
(3).
http://www.cocoawithlove.com/2010/01/what-is-meta-class-in-objective-c.html(翻译:
http://blog.jobbole.com/53824/)
(5).
http://chun.tips/blog/2014/11/05/bao-gen-wen-di-objective%5Bnil%5Dc-runtime(1)%5Bnil%5D-self-and-super/,
http://chun.tips/blog/2014/11/05/bao-gen-wen-di-objective%5Bnil%5Dc-runtime-(2)%5Bnil%5D-object-and-class-and-meta-class/,
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/
(6).
http://blog.cocoabit.com/2014-10-06-yi-li-jie-objctive-c-runtime/,原文:
http://cocoasamurai.blogspot.jp/2010/01/understanding-objective-c-runtime.html
(7).
http://southpeak.github.io/blog/2014/10/25/objective-c-runtime-yun-xing-shi-zhi-lei-yu-dui-xiang/,
http://southpeak.github.io/blog/2014/10/30/objective-c-runtime-yun-xing-shi-zhi-er-:cheng-yuan-bian-liang-yu-shu-xing/,
http://southpeak.github.io/blog/2014/11/09/objective-c-runtime-yun-xing-shi-zhi-liu-:shi-yi/
2. OC中消息和Category的理解:
(3).
http://pilky.me/21/,译文:
http://limboy.me/ios/2013/08/03/dynamic-tips-and-tricks-with-objective-c.html
(11).
http://southpeak.github.io/blog/2014/11/03/objective-c-runtime-yun-xing-shi-zhi-san-:fang-fa-yu-xiao-xi-zhuan-fa/,
http://southpeak.github.io/blog/2014/11/08/objective-c-runtime-yun-xing-shi-zhi-wu-:xie-yi-yu-fen-lei/
3. Method Swizzling:
4. NSObject中 + load 和 + initialize方法的区别与使用场景
6. block:
(3).
http://blog.csdn.net/jasonblog/article/details/8077340,
http://blog.csdn.net/jasonblog/article/details/7756763
(6).
http://www.galloway.me.uk/2012/10/a-look-inside-blocks-episode-1/,
http://www.galloway.me.uk/2012/10/a-look-inside-blocks-episode-2/,
http://www.galloway.me.uk/2013/05/a-look-inside-blocks-episode-3-block-copy/
7. GCD(我所知的对GCD使用地最好的开源库,应该是GPUImage,后面有空时候读读源代码):
(1).
https://github.com/nixzhu/dev-blog/blob/master/2014-04-19-grand-central-dispatch-in-depth-part-1.md,
https://github.com/nixzhu/dev-blog/blob/master/2014-05-14-grand-central-dispatch-in-depth-part-2.md
(2).
http://www.dreamingwish.com/frontui/article/default/gcd介绍(一)-基本概念和dispatch-queue.html,
http://www.dreamingwish.com/frontui/article/default/gcd介绍(二)-多核心的性能.html,
http://www.dreamingwish.com/frontui/article/default/gcd介绍(三)-dispatch-sources.html,
http://www.dreamingwish.com/frontui/article/default/gcd介绍(四)-完结.html
8. 其他
(2).
http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library,
http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do
二. OC runtime方面的值得学习的开源类库:
三. 图书资料:
2. <OC runtime Programming guide>
3. <深入浅出Cocoa教程>
4. <Inside Mac OS X — the OC Programming Language>
5. <Effective OC 2.0>
6. <Pro Objective-C>
7. <Cocoa Design Pattern>
8. <Advanced Mac OS X Programming>
9. <Pro Multithreading and Memory Management for iOS and OS X>