SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 3+ & Swift 4 version:
DispatchQueue.main.async { print("Hello") }
Swift 3 and Xcode 9.2:
dispatch_async_on_main_queue { print("Hello") }