rickytan / RTInteractivePush

UINavigationController interactive push support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RTInteractivePush

CI Status Version License Platform

Enjoy the interactive poping feature of UINavigationController? But where is the missing interactive pushing? Here it is.

Example

ScreenCap

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.rt_enableInteractivePush = YES;
    ...
}

- (nullable __kindof UIViewController *)rt_nextSiblingController
{
    return [[YourNewViewController alloc] init];
}

Requirements

  • iOS 7 +
  • Xcode 8 +

Installation

InteractivePush is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RTInteractivePush"

Author

Ricky Tan, ricky.tan.xin@gmail.com

License

InteractivePush is available under the MIT license. See the LICENSE file for more info.

About

UINavigationController interactive push support

License:MIT License


Languages

Language:Objective-C 91.3%Language:Ruby 8.7%