In this episode we create an image cache using an actor that provides disk-caching for images from the Unsplash API. We'll also talk about Sendable and enable some compiler warnings to help us catch potential issues.
To enable the additional warnings in Swift 5.5, put these settings in Other Swift Flags in Xcode build settings: -Xfrontend -warn-concurrency -Xfrontend -enable-actor-data-race-checks