1.对于autorelease的理解ios
Each thread in a Cocoa application maintains its own stack of autorelease pool blocks.(Advanced Memory Management Programming Guide:Using Autorelease Pool Blocks)objective-c
经过这句话,咱们能够看出架构
2.对于runtime的理解app
The objective-c language defers as many decisions as it can from compile time and link time to runtime.ide
这意味着oc不只须要一个编译器,还须要一个运行时系统,来执行编译过的代码。这个运行时系统对于oc来讲扮演着操做系统的角色。oop
3.对于CALayer的理解ui
Layer是Core Animation的核心。spa
Layers are data objects that manage content provided by your app。操作系统
A layer's content contains of a bitmap containing the visual data you want to display.有3种方法来设置它的content线程