摘要:
在引用计数方式下,二者没有什么不同,你通常要使用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 阅读全文