Created
June 25, 2019 18:48
-
-
Save cdeerinck/4fa75122794c7d64fb64802248fdeaa4 to your computer and use it in GitHub Desktop.
To force a call to run on the main thread
This file contains hidden or 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
| DispatchQueue.main.async { self.procedureCallHere() } //Forces the call to run on the main thread |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment