Up until now we submitted blocks of work to a dispatch queue by invoking the async(execute:)
method. In this episode, we explore how Grand Central Dispatch handles the execution of a block of work. Work can be executed synchronously or asynchronously. What does that mean? What is the difference? And what are the risks?
Subscribe to Cocoacasts Plus to watch this episode.
Mastering Grand Central Dispatch
Synchronous and Asynchronous Execution
by Bart Jacobs in Swift
Swift 4
Xcode 10
iOS 12
Mastering Grand Central Dispatch
-
1 What Is Grand Central Dispatch
07:40
-
2 Working With Dispatch Queues
10:22
-
4 Main and Global Dispatch Queues
09:04
-
5 Synchronous and Asynchronous Execution
10:18
-
10 Applying Quality of Service Classes
12:30
-
12 Simplifying With Dispatch Groups
08:42