Tha*_*nks 0 iphone cocoa-touch autorelease uikit
在文档中有一个NSAutoreleasePool的addObject:方法.
我想到了这个:
NSString*myString = [[NSString alloc] initWithCString:"这有用吗?"]; [thePool addObject:myString]; [anotherPool addObject:myString];
那可能吗?我总是读到我只能在自动释放池堆栈的最顶层添加对象.
| 归档时间: |
|
| 查看次数: |
409 次 |
| 最近记录: |