An example of building MVVM-C using SwiftUI. How to implement UIKit like Coordinator pattern on our SwiftUI projects with MVVM architecture.
Rather than having a single coordinator for the whole app, we created multiple coordinators. It will fix the following issues/drawbacks of a Single coordinator
- A single coordinator is responsible for handling all the navigations.
- A single coordinator becomes too heavy when the app is scaling.
- A single coordinator knows too much and it is hard to modularise the app.
- A single coordinator becomes less readable & hard to maintain when the app grows.
- Current implementation demonstrates the use of multiple Coordinators in Navigation.
- Coordinators for Nested Navigation inside tab item is in progress.