Related questions
iPhone SDK - Running a repeating process in a background thread
I have an iPhone application which in which I want to perform a method in the background every 1 second.
So in my main thread, I have the following code upon my UIViewController viewDidLoad():
[NSTimer timerWithTimeInterval:1.0 target:self selector:@selector(repeatedMethod) …
NSOperation on the iPhone
I've been looking for some concrete scenarios for when NSOperation on the iPhone is an ideal tool to use in an application. To my understanding, this is a wrapper around writing your own threaded code. I haven't seen any Apple …
Calling a method on the main thread?
First of all I am writing code for iphone.
I need to be able to call a method on the main thread without using performSelectorOnMainThread.
The reason that I don't want to use performSelectorOnMainThread is that it causes problem when …