Skip to content

Instantly share code, notes, and snippets.

@SlappyAUS
Last active October 9, 2020 23:50
Show Gist options
  • Save SlappyAUS/e39f4a109298af10f716b774d5fe99e4 to your computer and use it in GitHub Desktop.
Save SlappyAUS/e39f4a109298af10f716b774d5fe99e4 to your computer and use it in GitHub Desktop.
Update UI on Main Thread #ui
DispatchQueue.main.async {
// Update UI components here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment