摘要: 1.对于autorelease的理解 Each thread in a Cocoa application maintains its own stack of autorelease pool blocks.(Advanced Memory Management Programming Guide:Using Autorelease Pool Blocks) 通过这句话,我们可以看出autorelease pool 是栈的形式,andautorelease pool blocks can be nested主线程中也有自己的autorelease pool,这又牵扯出run loop。实.. 阅读全文
posted @ 2014-03-01 16:20 Kalou 阅读(180) 评论(0) 推荐(0) 编辑