Episode #555

Creating Rich Link Previews

Series: macOS Mastodon Client

38 minutes
Published on May 18, 2023

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

Posts with links in them can be expanded to show richer information, including an image for many sites that support it. In this episode we'll utilize the LinkPresentation framework to add this to our app. We'll also build out a cache using NSCache to ensure that we respond quickly when rendering the same post while scrolling.

This episode uses Swift 5.7, Xcode 14.3.