The previous episodes have illustrated that caching images can result in significant performance improvements. In the previous episode, I stressed the importance of writing cached images to disk on a background thread to prevent the image service from blocking the main thread.
Subscribe to Cocoacasts Plus to watch this episode.
Image Caching in Swift
Asynchronously Reading Data from Disk
by Bart Jacobs in Networking
Swift 5
Xcode 12
iOS 14
Image Caching in Swift
-
10:19
-
09:44
-
09:27
-
4 Asynchronously Reading Data from Disk
10:41
-
12:41
-
6 Image Caching with Kingfisher
10:48