CoordinatorKit 0.0.6

CoordinatorKit 0.0.6

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Nathan Lanza.


Downloads

Total2,414
Week0
Month0

Installs

Apps16
Test Targets5
powered by Segment

GitHub

Stars1
Watchers1
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files7
LOCLines of Code 582


CoordinatorKit

Screenshot

About

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.

TODO:

  • Check travis
  • Implement SplitViewCoordinator.
  • HamburgerController/Coordinator might not stay around.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Author

Nathan Lanza -> [email protected]

License

CoordinatorKit is available under the MIT license. See the LICENSE file for more info.