Skip to content

rickytan/RTInteractivePush

Repository files navigation

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.