Friday, September 23, 2016

Executing on the Main (UI) Thread

 
DispatchQueue.main.async() {
    // Code to execute on main thread
}
 


(Xcode 8, Swift 3.0)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

SwiftUI Search & Filter with Combine - Part 3 (iOS, Xcode 13, SwiftUI, 2...

In part 3 of the Searchable video series, I show you how to use Combine in #SwiftUI for the search and filter logic connected to the searcha...