Episode #554

ViewThatFits and Remote Images

Series: macOS Mastodon Client

47 minutes
Published on April 27, 2023

This video is only available to subscribers. Get access to this video and 586 others.

In this episode we continue with our post UI, making it adapt the layout to the available size using the ViewThatFits view in SwiftUI. Then we turn our attention to the avatars, which need to be fetched and displayed. We start with AsyncImage, but after a discussion we conclude that we will need more control over how the images are fetched and cached, so we implement our own RemoteImageView.

This episode uses Xcode 14.2, Swift 5.7.