NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
……
[pool release];
在main()函數當中,能夠見到的這兩條語句,主要是用來解放記憶體池,釋放記憶體。
轉載于:https://www.cnblogs.com/yy-is-ing/archive/2012/07/26/2610126.html
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
……
[pool release];
在main()函數當中,能夠見到的這兩條語句,主要是用來解放記憶體池,釋放記憶體。
轉載于:https://www.cnblogs.com/yy-is-ing/archive/2012/07/26/2610126.html