Episode #588

SwiftUI Navigation: Value-driven Navigation

11 minutes
Published on January 24, 2025

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

SwiftUI's NavigationView was short-lived and replaced by NavigationStack which offers much more flexibility. In this episode we will look at the problems of using a NavigationLink with a specified destination view and replace it with the navigationDestination modifier which allows us to lazily instantiate destination views based on Hashable values.

This episode uses Swift 6.0, Xcode 16.2.