CoordinatorsFoundation
Instalation
SPM (Swift Package Manager)
Add the repo URL to the project in tab "Swift Packages" and import the CoordinatorsFoundation library.
CocoaPods
- Add pod to your Podfile:
pod 'CoordinatorsFoundation'
- Install pods:
bundle exec pod install
Usage
- Import framework in your project:
import CoordinatorsFoundation
-
Add your implementation for protocols:
DeepLinkOptionable
,CoordinatorTypeable
. We prefer to implement both as enumerators. -
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 1.10.1
- Fastlane 2.181.0 (README)
- Slather 2.7.0
- xcode-install 2.6.8
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