TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Oct 2016 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Jared Sinclair.
Drop-in UINavigationControllerDelegate that enables sloppy swiping.
Requires Swift 2.0.
If you want to use the convenience navigation controller subclass:
self.sloppyNavController = JTSSloppyNavigationController(rootViewController: root)
If you need to use some other navigation controller class:
self.sloppySwiping = JTSSloppySwiping(navigationController: yourNavController)
// If you don't need another delegate, then:
yourNavController.delegate = self.sloppySwiping
// Otherwise forward the relevant navigation controller delegate methods
// to your sloppy swiping instance.