ForwardNavigationController 0.2.0

ForwardNavigationController 0.2.0

Maintained by Mouhammed Ali.



  • By
  • mouhammedali

ForwardNavigationController

CI Status Version License Platform

Forward to any popped viewController with familiar slide gesture

Features

  • slide from right edge to push to the popped viewcontroller
  • uses bezire function animation, to replicate UINavigation pop and push animations.
  • disable/enable push gesture on indiviual view controllers.
  • supports RTL/LTR.
  • supports iOS 14 new back history list.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

you can either use ForwardNavigationController in code or in storyboard.

  • Code
let vc = ForwardNavigationController(rootViewController: UIViewController())
  • Storyboard

  • Disable Push gesture if needed
(self.navigationController as? ForwardNavigationController)?.allowForward = false

Requirements

iOS 9.0+

Installation

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

pod 'ForwardNavigationController'

Author

mouhammedali, [email protected]

License

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