I have a cocos2d game, it performs at between 55 and 60fps once the game is loaded and running. However, due to using sprite sheets for both my menu\'s and game (one for each), there was a point of c
I have a UIScrollView that I am loading some images in.Sometimes I am apply an effect to an image and it takes a bit to do the pre-loading so I decided to do this on a different thread using detachNew
Normally when you create an NSOperation su开发者_开发百科bclass you are responsible for creating and releasing an NSAutoreleasePool in the -main method.
Lets say I have the below scenario: - (void)someFunction:(id)param { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
I\'m working on some cross-platform code using OpenGL and SDL, but have immediately run into issues on Mac OSX.
Do you know what happens 开发者_开发知识库if I retain an autoreleased object ? Will it be released or does the retain wins ?
I am doing this in my Main Thread: CCAnimation *anim; //class variable [NSThread detachNewThreadSelector:@selector(loadAimation) toTarget:self withObject:nil];
I have a method of an object which creates objects which are then passed to a method of another object in another thread, like this:
encountering numerous leaks on iphone device when using NSOperationQueue and trying to change sliders / pickers etc.
I have an app that I am refactoring and I just implemented multithreading so that the UI may run smoother.In the iphone simulator I don\'t get any leaks but testing on my iPhone 3G running on iOS 4.2