Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ramotion/navigation-toolbar
:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion
https://github.com/ramotion/navigation-toolbar
controller gesture library navigation scroll swift
Last synced: 4 days ago
JSON representation
:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion
- Host: GitHub
- URL: https://github.com/ramotion/navigation-toolbar
- Owner: Ramotion
- License: mit
- Created: 2018-04-11T08:32:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-06T06:52:42.000Z (almost 5 years ago)
- Last Synced: 2025-02-09T10:07:41.808Z (11 days ago)
- Topics: controller, gesture, library, navigation, scroll, swift
- Language: Swift
- Homepage: https://www.ramotion.com/agency/app-development/
- Size: 10.4 MB
- Stars: 598
- Watchers: 21
- Forks: 53
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NAVIGATION TOOLBAR
Navigation toolbar is a Swift slide-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:
![]()
[](http://twitter.com/Ramotion)
[](https://cocoapods.org/pods/Navigation-Toolbar)
[](http://cocoapods.org/pods/Navigation-Toolbar)
[](https://github.com/Ramotion/navigation-toolbar)
[](https://codebeat.co/projects/github-com-ramotion-navigation-toolbar-master)
[](https://paypal.me/Ramotion)## Requirements
- iOS 10.0+
- Xcode 9## Installation
Just add the Source folder to your project.
or use [CocoaPods](https://cocoapods.org) with Podfile:
``` ruby
pod 'Navigation-Toolbar'
```or [Carthage](https://github.com/Carthage/Carthage) users can simply add to their `Cartfile`:
```
github "Ramotion/navigation-toolbar"
```## Usage
#### Storyboard
1) Create a new UIView inheriting from ```NavigationView```
2) Create ScreenObject for every required screen with configuration, see example:
``` swift
class ViewController: UIViewController {private var navigationView: NavigationView?
override func viewDidLoad() {
super.viewDidLoad()navigationView = NavigationView.init(frame: view.bounds,
middleView: MiddleView(),
screens: [
ScreenObject(title: "MUSIC",
startColor: .red,
endColor: .blue,
image: UIImage(named : "image1")!,
controller: YourFirstViewController()),
ScreenObject(title: "EDUCATION",
startColor: .black,
endColor: .white,
image: UIImage(named : "image2")!,
controller: YourSecondViewController()),
],
backgroundImage: #imageLiteral(resourceName: "background"))
navigationView?.autoresizingMask = [.flexibleWidth, .flexibleHeight]
view.addSubview(navigationView!)
}
}
```## 🗂 Check this library on other language:
## 📄 License
Navigation Toolbar 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.