SwiftfulRouting is a native, declarative framework for programmatic navigation (routing) in SwiftUI applications, fully decoupled from the View.
Framework: https://github.com/SwiftfulThinking/SwiftfulRouting
ContentView
is a showcase of all routing methods.
Included in the project are a few sample architectures that work well with the SwiftUI + SwiftfulRouting frameworks.
This is a simple MVVM approach where the View remains in control of the routing.
Another MVVM approach where the router is injected into the ViewModel.
Same as previous, except it adds a delegate for the data service. This is a stepping stone between #2 & #4.
A VIPER module that is native to SwiftUI that allows for injection of data and routing layers. The 'ViewModel' in MVVM becomes the 'Presenter' in VIPER.