You should now have a fundamental understanding of dispatch queues. A dispatch queue is responsible for managing the execution of blocks of work. Grand Central Dispatch determines which thread is used for the execution of a block of work. Developers unfamiliar with Grand Central Dispatch wrongly assume that a dispatch queue is tied to a particular thread. Remember that Grand Central Dispatch doesn't make a guarantee as to which thread is used for the execution of a block of work submitted to a dispatch queue.
Subscribe to Cocoacasts Plus to watch this episode.
Mastering Grand Central Dispatch
Serial and Concurrent Dispatch Queues
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
-
3 Serial and Concurrent Dispatch Queues
11:12
-
4 Main and Global Dispatch Queues
09:04
-
10 Applying Quality of Service Classes
12:30
-
12 Simplifying With Dispatch Groups
08:42