Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingiol/KDInteractiveNavigationController
A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show.
https://github.com/kingiol/KDInteractiveNavigationController
Last synced: 7 days ago
JSON representation
A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show.
- Host: GitHub
- URL: https://github.com/kingiol/KDInteractiveNavigationController
- Owner: kingiol
- License: mit
- Created: 2015-11-21T06:17:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T02:26:10.000Z (about 7 years ago)
- Last Synced: 2024-11-07T06:47:46.528Z (about 1 month ago)
- Language: Swift
- Homepage:
- Size: 6.76 MB
- Stars: 154
- Watchers: 3
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - KDInteractiveNavigationController - A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show. (UI / Navigation Bar)
- awesome-swift - KDInteractiveNavigationController - A UINavigationController subclass that support pop interactive UINavigationBar with hidden or show. (Libs / UI)
- awesome-ios-star - KDInteractiveNavigationController - A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show. (UI / Navigation Bar)
- awesome-swift-cn - KDInteractiveNavigationController - A UINavigationController subclass that support pop interactive UINavigationBar with hidden or show. (Libs / UI)
- awesome-swift - KDInteractiveNavigationController - A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show. ` 📝 4 years ago ` (UI [🔝](#readme))
README
# KDInteractiveNavigationController
![Swift](https://img.shields.io/badge/language-Swift-orange.svg)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kingiol/KDInteractiveNavigationController/blob/master/LICENSE)
[![CocoaPods](https://img.shields.io/cocoapods/v/KDInteractiveNavigationController.svg)](https://github.com/kingiol/KDInteractiveNavigationController)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/kingiol/KDInteractiveNavigationController)![screenshots](./etc/screenshots.gif)
## Features :sparkles:
- UINavigationController interactive with UINavigationBar hidden or show
- Hide all UINavigationController backButtonItem's title, only show back arrow## Requirements
- iOS 8.0+
- Xcode 7.1+## Installation
### CocoaPods
[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:```bash
$ gem install cocoapods
```> CocoaPods 0.39.0+ is required to build.
To integrage KDInteractiveNavigationController into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!pod 'KDInteractiveNavigationController'
```Then, run the following command:
```bash
$ pod install
```### Carthage
[Carthage](htps://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
```bash
$ brew update
$ brew install carthage
```To integrate KDInteractiveNavigationController into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github 'kingiol/KDInteractiveNavigationController'
```Run `carthage` to build the framework and drag the built `KDInteractiveNavigationController.framework` into your Xcode project.
## Usage - Easy to Use
### UINavigationController interactive
> default UINavigationBar is show, when you want hiden UINavigationBar
> in UIViewController `viewDidLoad` method```swift
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
self.interactiveNavigationBarHidden = true
}
```### Hide all UINavigationController backButtonItem's title
> user KDInteractiveNavigationController instead of UINavigationController.
> then set `clearBackTitle = true`### Storyboard
![storyboard](./etc/storyboard.gif)
## Credits
AHKNavigationController was created by [@Kingiol](https://github.com/kingiol).
## License
AHKNavigationController is released under the MIT license. See LICENSE for details.