kdi

KDInteractiveNavigationController

A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

153

Maintenance

Last Commit

4yrs ago

Contributors

4

Package

Dependencies

0

License

MIT

Categories

Readme

KDInteractiveNavigationController

Swift License: MIT CocoaPods Carthage compatible

screenshots

Features ✨

  • 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 UIViewController viewDidLoad 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 set clearBackTitle = true

Storyboard

storyboard

Credits

AHKNavigationController was created by @Kingiol.

License

AHKNavigationController is released under the MIT license. See LICENSE for details.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100