Created
January 29, 2014 04:31
-
-
Save mattyohe/8681876 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.01]]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do {[[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate distantFuture]];} while (!done);
https://developer.apple.com/library/ios/samplecode/XMLPerformance/Listings/Classes_CocoaXMLParser_m.html :)