- UIPilot is not a replacement of the SwiftUI's
NavigationView, it's rather a wrapper around it that you would have likely written. Thus all standard
NavigationViewfeatures like title, swipe gesture, topbar etc. are available by default.
- APIs are inspired by the android, flutter and web based routers - Very simple and easy to use.
- Typesafe navigation - Routing to wrong path will fail at compile time rather than runtime.
- Typesafe parameters - Routing with wrong parameters will fail at compile time rather than runtime.
- Very tiny library - it's barely 200 lines of code.
Visit the website for documentation and more information.
The library is designed to meet simple use cases as well as complex ones. You can also have nested
UIPilot as many as you like!
For example, it's very easy to achieve split screen like behavior.
Please have a look at the article for more information of the implementation.
Version 1.x - Uses SwiftUI
Version 2.x - Uses UIKit
UINavigationController underneath (recommended).
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
Once you have your Swift package set up, adding UIPilot as a dependency is as easy as adding it to the
dependencies value of your
dependencies: [ .package(url: "https://github.com/canopas/UIPilot.git", .upToNextMajor(from: "2.0.2")) ]
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate UIPilot into your Xcode project using CocoaPods, specify it in your Podfile:
target 'YourAppName' do pod 'UIPilot', '~> 2.0.2' end
For bugs, questions and discussions please use the Github Issues.
UIPilot is released under the MIT license. See LICENSE for details.