Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ramotion/navigation-stack
:octocat: NavigationStack is a stack-modeled UI navigation controller. Swift UI library made by @Ramotion
https://github.com/Ramotion/navigation-stack
component ios library swift
Last synced: about 1 month ago
JSON representation
:octocat: NavigationStack is a stack-modeled UI navigation controller. Swift UI library made by @Ramotion
- Host: GitHub
- URL: https://github.com/Ramotion/navigation-stack
- Owner: Ramotion
- License: mit
- Created: 2016-02-25T15:15:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-06T06:57:43.000Z (almost 5 years ago)
- Last Synced: 2024-10-29T17:40:02.278Z (3 months ago)
- Topics: component, ios, library, swift
- Language: Swift
- Homepage: https://www.ramotion.com/agency/app-development/
- Size: 18.9 MB
- Stars: 2,302
- Watchers: 63
- Forks: 173
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios-star - Navigation Stack - Navigation Stack is a stack-modeled navigation controller. (UI / Font)
- awesome-ios - Navigation Stack - Navigation Stack is a stack-modeled navigation controller. (UI / Font)
README
NAVIGATION STACK
Navigation Stack is a library with stack-modeled UI navigation controller.
___
We specialize in the designing and coding of custom UI for Mobile Apps and Websites.
Stay tuned for the latest updates:
[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/Ramotion)
[![CocoaPods](https://img.shields.io/cocoapods/p/Navigation-stack.svg)](https://cocoapods.org/pods/Navigation-stack)
[![CocoaPods](https://img.shields.io/cocoapods/v/Navigation-stack.svg)](http://cocoapods.org/pods/Navigation-stack)
[![CocoaPods](https://img.shields.io/cocoapods/metrics/doc-percent/Navigation-stack.svg)](https://cdn.rawgit.com/Ramotion/navigation-stack/master/docs/index.html)
[![Travis](https://img.shields.io/travis/Ramotion/navigation-stack.svg)](https://travis-ci.org/Ramotion/navigation-stack)
[![codebeat badge](https://codebeat.co/badges/c322a039-b06b-46d9-bf40-e48cf0365b97)](https://codebeat.co/projects/github-com-ramotion-navigation-stack)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Ramotion/navigation-stack)
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/Ramotion)## Requirements
- iOS 9.0+
- Xcode 9## Installation
Just add the Source folder to your project.
or use [CocoaPods](https://cocoapods.org) with Podfile:
``` ruby
pod 'Navigation-stack'
```or [Carthage](https://github.com/Carthage/Carthage) users can simply add to their `Cartfile`:
```
github "Ramotion/navigation-stack"
```## Usage
1) YourNavigationController inherit from `NavigationStack`
2) add code to root viewViewController
``` swift
override func viewDidLoad() {
super.viewDidLoad()
navigationController!.interactivePopGestureRecognizer?.delegate = self
}
`````` swift
extension YourViewController: UIGestureRecognizerDelegate {
func gestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer) -> Bool {if navigationController?.viewControllers.count == 2 {
return true
}if let navigationController = self.navigationController as? NavigationStack {
navigationController.showControllers()
}return false
}
}
```## 📄 License
Navigation Stack is released under the MIT license.
See [LICENSE](./LICENSE) for details.This library is a part of a selection of our best UI open-source projects.
If you use the open-source library in your project, please make sure to credit and backlink to www.ramotion.com
## 📱 Get the Showroom App for iOS to give it a try
Try this UI component and more like this in our iOS app. Contact us if interested.