Add the repo URL to the project in tab "Swift Packages" and import the CoordinatorsFoundation library.
- Add pod to your Podfile:
pod 'CoordinatorsFoundation'
- Install pods:
bundle exec pod install
- 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> {
}
- 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)
- Cocoapods 1.10.1
- Fastlane 2.181.0 (README)
- Slather 2.7.0
- xcode-install 2.6.8
- Open the folder with Xcode and you're ready to go!
- Open the main project folder
- Run
bundle install
- Enter
Example
directory - Run
bundle exec pod install --repo-update
- Open the
.xcworkspace
file with Xcode
- Run all checks in your console by typing:
bundle exec fastlane all_checks
- Merge changes to
master
. - Checkout the
master
branch. - Run
bundle exec fastlane deploy_pod
- Enter version number e.g.
1.0.0