A lightweight yet powerful state-based router written in Swift.
Monarch Router is a declarative routing handler that decouples ViewControllers from each other via Coordinator and Presenters. Monarch Router fits right in with Redux style State Flow and Reactive frameworks.
The Coordinator is constructed by declaring a route hierarchy mapped with a URL structure. Presenters abstract UI creation and modification.
Monarch butterflies weight less than 1 gram but cover thousands of miles during their migration. It's considered an iconic pollinator and one of the most beautiful butterfly species.
— Navigating complex ViewControlles hierarchy and unwinding on path change.
— Switching top-level app sections via setting the window's rootViewController.
— Navigating forks (tab bar like presenters).
— Navigating stacks (i.e. navigation controller).
— Opening and dismissing modals.
— Passing and parsing route parameters to endpoints.