SwiftUI Weekly - Issue #198
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Typed throws in Swift
Swift was promoted as a type-safe programming language on its very first day, and it is solid and safe in many aspects. The part of type safety that needed to be added was throwing functions. Swift 6.0 introduces typed throws, and we will learn all about them this week.
Let’s build iOS 18’s navigation title card in SwiftUI
iOS 18 standardizes a design pattern that could be called “navigation title cards”, for lack of an established HIG term. In their simplest form, these cards appear at the top of a list of content and provide brief explanatory text.
Using @Observable in SwiftUI views
With the release of iOS 17 last year, Apple introduced the Observation framework, providing a Swift-specific implementation of the observer design pattern. This framework allows us to use the @Observablemacro in SwiftUI as a way to provide observable data to our views.
SwiftUI for Mac 2024
This year, the HTTP Cats app is back! And I’ll cover new features from both WWDC 2023 and WWDC 2024.
Understanding container values in SwiftUI
Learn how to add customization to SwiftUI containers.
Videos
Zoom Transitions
In this video, I want to introduce you to zoomTransitions. This is a new modifier that we can apply to a navigation destination or a full screen cover that uses a matched geometry effect to zoom out and back to the matched content.