I wish to block a background thread until my main thread's run loop is sleeping (aka the main thread is waiting for input).
I think I can do this by doing:
[self performSelectorOnMainThread:@selector(waitSelector) withObject:nil waitUntilDone:TRUE];
However I do believe there is probably a better way of doing this. Any advice?