Created
July 30, 2015 01:21
-
-
Save Appletone/0092db3e18d3f264ed79 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
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ | |
//Add some method process in global queue - normal for data processing | |
dispatch_async(dispatch_get_main_queue(), ^(){ | |
//Add method, task you want perform on mainQueue | |
//Control UIView, IBOutlet all here | |
}); | |
//Add some method process in global queue - normal for data processing | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment