Description
The library is designed to meet simples 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 acheive split screen like behavior.
Please have a look at the article for more information of the implementation.
UIPilot alternatives and similar libraries
Based on the "App Routing" category.
Alternatively, view UIPilot alternatives based on common mentions on social networks and blogs.
-
RxFlow
RxFlow is a navigation framework for iOS applications based on a Reactive Flow Coordinator pattern -
RouteComposer
Protocol oriented, Cocoa UI abstractions based library that helps to handle view controllers composition, navigation and deep linking tasks in the iOS application. Can be used as the universal replacement for the Coordinator pattern. -
ZIKRouter
Interface-oriented router for discovering modules, and injecting dependencies with protocol in Objective-C and Swift. -
Composable Navigator
An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind -
DZURLRoute
DZURLRoute是支持基于标准URL进行Native页面间跳转的Objective-C实现。方便您架构页面之间高内聚低耦合的开发模式。他的核心思想是把每一个页面当成一个资源,通过标准的URL协议(统一资源定位符)来定位到每一个可触达的页面(资源)。 -
CoreNavigation
📱📲 Navigate between view controllers with ease. 💫 🔜 More stable version (written in Swift 5) coming soon. -
Weavy
DISCONTINUED. Reactive navigation framework based on a weaving pattern (fits well with RxSwift)
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of UIPilot or a related project?
README
UIPilot
Why another SwiftUI navigation library?
- 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 standardNavigationView
features 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.
Documentation
Visit the website for documentation and more information.
Examples
Please have a look at the article and the examples to know more about different use cases of UIPilot.
Complex use cases
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.
Installation
Version 1.x - Uses SwiftUI NavigationView
underneath.
Version 2.x - Uses UIKit UINavigationController
underneath (recommended).
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
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 Package.swift
.
dependencies: [
.package(url: "https://github.com/canopas/UIPilot.git", .upToNextMajor(from: "2.0.0"))
]
CocoaPods
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.0'
end
Bugs and Feedback
For bugs, questions and discussions please use the Github Issues.
Credits
UIPilot is owned and maintained by the Canopas team. You can follow them on Twitter at @canopassoftware for project updates and releases.
Licence
UIPilot is released under the MIT license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the UIPilot README section above
are relevant to that project's source code only.