@brentsimmons @mjtsai If you can guarantee that completion is *not* main thread, you could use NSConditionLock.
@ddribin @brentsimmons Yeah, I think NSConditionLock or a semaphore would be simplest.
-
-
@mjtsai@brentsimmons Could also spin the run loop: while (!_notReady) { // spin RL } And run completion with CFRunLoopPerformBlock. -
@mjtsai@brentsimmons Heh, double negative. How about: while (!_ready) { } Coding in Twitter considered harmful.
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Dave Dribin
Michael Tsai