CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

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.



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.