In UIKit we've often lamented the fact that there is no builtin facility to load an image with a URL, leaving developers to implement this on their own. In SwiftUI the situation is the same, however we have more flexibility to build what we need. Using a Swift package called FetchImage, we will create a reusable ImageView struct that can load our images efficiently given a URL.
Episode Links FetchImage on GitHub - This is a library by Alexander Grebenyuk that provides the image loading behavior. It is based on the Nuke library, which we used in Episode 317.