Created
January 31, 2012 10:45
-
-
Save zeedark/1709849 to your computer and use it in GitHub Desktop.
Perform drawing-related operations on the main thread
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
dispatch_async(dispatch_get_main_queue(), ^{ | |
/* your code */ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment