Latest 1.2.3
Homepage https://github.com/jaredsinclair/JTSSloppySwiping
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation
Authors

Drop-in UINavigationControllerDelegate that enables sloppy swiping (swiping from anywhere in the content view controller’s view to start an interactive pop transition, rather than just from the screen edge). It works whether or not the navigation controller’s navigation bar is hidden (unlike the default screen edge gesture).

Requirements

Requires Swift 3.0 or later (older versions supported Swift 2.x and may still suit your needs).

Usage

If you want to use the convenience navigation controller subclass:

let navController = 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.

Latest podspec

{
    "name": "JTSSloppySwiping",
    "version": "1.2.3",
    "summary": "A drop-in UINavigationControllerDelegate that enables sloppy swiping.",
    "description": "A drop-in UINavigationControllerDelegate that enables sloppy swiping. I'm adding additional words here to satisy CocoaPods' pedantry.",
    "homepage": "https://github.com/jaredsinclair/JTSSloppySwiping",
    "license": "MIT",
    "authors": {
        "Jared Sinclair": "[email protected]"
    },
    "source": {
        "git": "https://github.com/jaredsinclair/JTSSloppySwiping.git",
        "tag": "1.2.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "frameworks": "Foundation",
    "source_files": "JTSSloppySwiping/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This