Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 4 hours ago
JSON representation

:octocat: Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion

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:


[![Twitter](https://img.shields.io/badge/[email protected]?style=flat)](http://twitter.com/Ramotion)
[![CocoaPods](https://img.shields.io/cocoapods/p/navigation-toolbar.svg)](https://cocoapods.org/pods/Navigation-Toolbar)
[![CocoaPods](https://img.shields.io/cocoapods/v/navigation-toolbar.svg)](http://cocoapods.org/pods/Navigation-Toolbar)
[![Carthage compatible](https://img.shields.io/badge/Carthage-uncompatible-4BC51D.svg?style=flat)](https://github.com/Ramotion/navigation-toolbar)
[![codebeat badge](https://codebeat.co/badges/9460af06-c0f9-4063-8bb5-a802136d3cbf)](https://codebeat.co/projects/github-com-ramotion-navigation-toolbar-master)
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](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.