摘要:
在引用计数方式下,二者没有什么不同,你通常要使用drain在GC(garbage-collected)环境下,drain会在必要时引起GC作用,然而release是个空操作。http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSAutoreleasePool_Class/Reference/Reference.html#//apple_ref/doc/uid/20000051-SW5In a garbage-collected environment, there is 阅读全文
posted @ 2012-12-13 01:12
白条围巾
阅读(1573)
评论(0)
推荐(0)

浙公网安备 33010602011771号