Skip to content

Instantly share code, notes, and snippets.

@nishabe
Last active August 12, 2018 18:20
Show Gist options
  • Save nishabe/2b1c5ce4ee0d09bcdeab to your computer and use it in GitHub Desktop.
Save nishabe/2b1c5ce4ee0d09bcdeab to your computer and use it in GitHub Desktop.
OBJC:Update UI from blocks
dispatch_async(dispatch_get_main_queue(), ^{
// This block will be executed asynchronously on the main thread.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment