I want to create a worker thread that isn't the main thread so I can call ...
[self performSelector:@selector(doStuff) OnThread:self.myWorkerThread withObject:nil];
... in a bunch of locations in my code. How do I create a thread.. any thread and assign it to a variable so I can use it over and over in my code. NSThread detachNewThreadWithSElector will only create one for the purpose of running that one selector. I need to create a thread and use it somehow.
I am using iOS and need to perform all my CoreData writes on a writerThread. I need to use the same thread (that isn't the main one) every time.