We ended the previous episode with some bad news. We discovered that the current implementation of the ImageTableViewCell
class is leaking DispatchWorkItem
instances. Before we implement a solution, I have more bad news. The problem is more complex than it appears. There are several memory issues we need to address. Let's tackle them one by one.
Subscribe to Cocoacasts Plus to watch this episode.
Mastering Grand Central Dispatch
Grand Central Dispatch and Memory Management
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
-
7 Grand Central Dispatch and Memory Management
11:29
-
10 Applying Quality of Service Classes
12:30
-
12 Simplifying With Dispatch Groups
08:42