Simple iOS app to showcase navigation with coordinators in SwiftUI + MVVM
SimpleNavigation
Simple iOS app to showcase the use of the Coordinator pattern using SwiftUI and MVVM.
The implementation is as easy as calling a push
and pop
methods on the Coordinator
s. This approach deallocates automatically the view model and coordinator instances when they are popped from the navigation stack and the View
s are only re-rendered when needed.
Usage
- Clone this repository.
- Open the project with Xcode.
- Enjoy.
License
Licensed under MIT