dispatchMain()
Executes blocks submitted to the main queue.
Declaration
func dispatchMain() -> NeverDiscussion
This function “parks” the main thread and waits for blocks to be submitted to the main queue. Applications that call UIApplicationMain(_:_:_:_:) (iOS), NSApplicationMain(_:_:) (macOS), or CFRunLoopRun() on the main thread must not call dispatchMain().
This function never returns.