The previous episodes have illustrated that working with the DispatchWorkItem
class is a bit more complex than submitting a block of work to a dispatch queue. But you get several benefits in return. Control and flexibility are the most important advantages of the DispatchWorkItem
class. In this episode, I'd like to show you a few additional benefits if you choose to work with dispatch work items.
Subscribe to Cocoacasts Plus to watch this episode.
Mastering Grand Central Dispatch
Beyond the Basics With Dispatch Work Items
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
-
8 Beyond the Basics With Dispatch Work Items
14:11
-
10 Applying Quality of Service Classes
12:30
-
12 Simplifying With Dispatch Groups
08:42