nsautoreleasepool
What's making NSArray access so slow?
I\'m working up a graphics effect for an iPhone app that simulates a low-res plasma effect from old demoscene days. I\'ve got 600 squares on screen that are updating as fast as possible. Since I am us[详细]
2023-01-16 05:35 分类:问答Number of Objects in Autorelease Pool
Is there any way to query the number of objects that reside in a given NSAutoreleasePool? This is really important for me, because in my game there are several loops and I need to know how effe开发者[详细]
2023-01-11 08:39 分类:问答Error at NSRunLoop after returning from thread method with NSAutoreleasePool
I am getting an EXC_BAD_ACCESS error after I return from a thread method in which I have set up an NSAutoreleasePool.The place of failure is at a call to NSRunLoop.I am trying to wrap a 3rd party libr[详细]
2023-01-10 17:22 分类:问答-[CALayer retain]: message sent to deallocated instance
I\'m developing an iphone app and when I turn on my NSZombieEnabled I have regularly a crash on error :[详细]
2023-01-07 14:39 分类:问答Using an object beyond Autorelease context
under the \"Guaranteeing the Foundation Ownership Policy\" in Apple developer\'s site article on Autorelease pool[详细]
2023-01-05 04:16 分类:问答Application get crash while using NSAutoreleasepool inside MKMapview regionDidChangeAnimated method
i am working on a map application, in that i like to drop the pins (as in Zillow apps) when ever user change the map view. I am using following code code. i am try to load the xml data from server usi[详细]
2023-01-03 01:09 分类:问答How do I start up an NSRunLoop, and ensure that it has an NSAutoreleasePool that gets emptied?
I have a \"sync\" task that relies on several \"sub-tasks\", which include asynchronous network operations, but which all require access to a single NSManagedObjectContext. Due to the threading requir[详细]
2022-12-30 11:50 分类:问答Can I early-release an autorelease object?
i.e. would cause the object to 开发者_开发知识库be released immediately and not have to be released by the pool if I did this?[详细]
2022-12-29 08:43 分类:问答pointer being freed was not allocated. Complex malloc history help
I\'ve followed the guides helpfully linked here: iPhone - debugging "pointer being freed was not allocated" errors[详细]
2022-12-27 22:11 分类:问答How do I release an object allocated in a different AutoReleasePool?
I have a problem with the memory management in Objective-C.Say I have a method that allocates an object and stores the reference to this object as a member of the class.If I run through the same funct[详细]
2022-12-23 13:41 分类:问答