TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✓ |
Maintained by Nathan Lanza.
CoordinatorKit is a simple framework that provides base classes for the coordinator pattern. The design of this framework was chosen to mirror the implementation of UIKIt
’s UIViewController
. There is a base Coordinator
analagous to a UIViewController
and, similarly, TabBarCoordinator
and NavigationCoordinator
.
You use these classes by overriding loadViewController
and initializing the property viewController.
You can also create a custom property such as
var myViewController: MyViewController { return viewController as! MyViewController }.
The API is designed to feel very similar to UIViewControllers
. You call show
, present
, dismiss
, and various other methods on the coordinators in order to provide navigation. If I develop this far enough, I’ll create documentation, but for now just see the base classes.
SplitViewCoordinator
.To run the example project, clone the repo, and run pod install
from the Example directory first.
Nathan Lanza -> [email protected]
CoordinatorKit is available under the MIT license. See the LICENSE file for more info.