摘要:
简单的说,每次事件处理时候开始的时候,ios会为我们自动生成一个autorelesepool,,结束的时候释放掉。之前我们有误解是只有在main程序中有一个autoreleasepool,我们代码中所有autorelease对象都在这个pool中,这个观点是不正确的。You have to understand the concept of a run-loop. The run loop in iOS waits for some event to happen and then it acts upon it. That event could be the user touching t 阅读全文
posted @ 2011-08-30 09:38
iPhone Dev
阅读(4914)
评论(0)
推荐(0)

浙公网安备 33010602011771号