CoordinatorsFoundation

build status Coverage report Swift

Instalation

SPM (Swift Package Manager)

Add the repo URL to the project in tab "Swift Packages" and import the CoordinatorsFoundation library.

CocoaPods

  1. Add pod to your Podfile:
pod 'CoordinatorsFoundation'
  1. Install pods:
bundle exec pod install

Usage

  1. Import framework in your project:
import CoordinatorsFoundation
  1. Add your implementation for protocols: DeepLinkOptionable, CoordinatorTypeable. We prefer to implement both as enumerators.

  2. Use framework for creating your own app (look for the example app)

class MyCoordinator: NavigationCoordinator<DeepLinkOption, CoordinatorType> {

}

Target

  • iOS 11.4 + Xcode 10.3 (v0.1.2)
  • iOS 13 + Xcode 11.2.1 (v0.2.0)
  • iOS 13.5 + Xcode 11.5 (v0.3.0)

Dependencies

Gems

CocoaPods

Contribution

Requirements

Configuration

Framework

  • Open the folder with Xcode and you're ready to go!

Example app

  • Open the main project folder
  • Run bundle install
  • Enter Example directory
  • Run bundle exec pod install --repo-update
  • Open the .xcworkspace file with Xcode

Before you push changes

  • Run all checks in your console by typing:
bundle exec fastlane all_checks

Release

  • Merge changes to master.
  • Checkout the master branch.
  • Run bundle exec fastlane deploy_pod
  • Enter version number e.g. 1.0.0