nsautoreleasepool
I want to build app to train people on memory usage (iOS)
We have a lot of staff that are relatively new to iOS programming and memory management in general. I want to build an app with a couple of labels showing retain counts and a some buttons to increment[详细]
2023-04-12 00:55 分类:问答NSAutoreleasePool in UIViewController life cycle
I am working in an app for iPad. It presents several views, so I have to be careful with the memory management.[详细]
2023-04-09 09:56 分类:问答How to tell if object is in an NSAutoreleasePool
I would like to know how many times an object has been autoreleased.I\'ve used objective c long enough that it\'s generally straight forward to know whether an object has been autoreleased or not, how[详细]
2023-04-06 13:40 分类:问答Can we use NSAutoreleasePool for a view?
I want to know is there any way to 开发者_StackOverflow社区use NSAutoreleasePool through a view (just like we define something in .h file and dealloc them in dealloc method of .m file).[详细]
2023-04-05 05:26 分类:问答Help with crash log
My app is crashing on Lion when it awakes from sleep. The problem seems to be with a background thread that is looking for weather info.[详细]
2023-03-31 07:12 分类:问答Handling AutoRelease Pools and Threads
If I create a thread with a callback like.. NSAutoreleasePool* pool = [NSAutoreleasePool 开发者_如何学JAVAalloc] init];[详细]
2023-03-31 07:07 分类:问答How to avoid leaking in iPhone application?
i am getting thing crash log: 2011-07-21 23:18:51.233 iFeel[87679:910b] *** __NSAutoreleaseNoPool(): Object 0x5fbdef0 of class NSURL autoreleased with no pool in place - just leaking[详细]
2023-03-22 05:30 分类:问答NSAutoreleasePool is unavailable
I am following \"Programming in Objective-C\" 3rd edition and I am having problems with the first example.[详细]
2023-03-19 06:24 分类:问答Changing auto-released object to non-auto
Is there a way to change an autoreleased object to one that is non-autoreleased? NSCoder\'s decodeObjectForKey returns an autoreleased object, which messes with a couple memory systems in my app.How[详细]
2023-03-17 09:47 分类:问答NSAutoreleasepool leaking - Don't understand why?
I have this code: NSNumber *num; NSAutoreleasePool *apool = [[NSAutoreleasePool alloc] init]; for (int i=开发者_StackOverflow中文版0; i<images_count; i++) {[详细]
2023-03-13 09:27 分类:问答