Latest | 0.4 |
---|---|
Homepage | https://github.com/kingiol/KDInteractiveNavigationController |
License | MIT |
Platforms | ios 8.0, requires ARC |
Frameworks | UIKit |
Authors |
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 is a dependency manager for Cocoa projects. You can install it with the following command:
$ 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
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!
pod 'KDInteractiveNavigationController'
Then, run the following command:
$ pod install
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate KDInteractiveNavigationController into your Xcode project using Carthage, specify it in your Cartfile
:
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 UIViewControllerviewDidLoad
method
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 setclearBackTitle = true
Storyboard
Credits
AHKNavigationController was created by @Kingiol.
License
AHKNavigationController is released under the MIT license. See LICENSE for details.
Latest podspec
{ "name": "KDInteractiveNavigationController", "version": "0.4", "summary": "A UINavigationController subclass that support interactive UINavigationbar with hidden or show.", "homepage": "https://github.com/kingiol/KDInteractiveNavigationController", "screenshots": "https://raw.githubusercontent.com/kingiol/KDInteractiveNavigationController/master/etc/screenshots.gif", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "kingiol": "[email protected]" }, "requires_arc": true, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/kingiol/KDInteractiveNavigationController.git", "tag": "0.4" }, "source_files": "KDInteractiveNavigationController/*.{swift}", "frameworks": [ "UIKit" ], "pushed_with_swift_version": "4.0" }
Tue, 24 Oct 2017 12:00:30 +0000