Swiftpack.co - lengocduy/DLSwipeToPopController as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by lengocduy.
lengocduy/DLSwipeToPopController v1.1.1
Reusable iOS's behavior drag or swipe to pop ViewController
⭐️ 0
🕓 2 weeks ago
.package(url: "https://github.com/lengocduy/DLSwipeToPopController.git", from: "v1.1.1")


Reusable iOS's behavior to pop ViewController base on SwipeRightToPopController:

  • Swipe from Right to Left to pop ViewController.
    • Customize base on velocity
  • Drag from Right to Left to pop ViewController.
    • Customize base on percent of distance with the screen width


  • Xcode 11+
  • Swift 5.0+


There are three ways to install DLSwipeToPopController

1. CocoaPods

Just add to your project's Podfile:

pod 'DLSwipeToPopController', '~> 1.1'

2. Carthage

Add following to Cartfile:

github "lengocduy/DLSwipeToPopController" ~> 1.1

3. Swift Package Manager

Create a Package.swift file:

// swift-tools-version:5.0

import PackageDescription

let package = Package(
        name: "TestSwipeToPopController",

        dependencies: [
            .package(url: "https://github.com/lengocduy/DLSwipeToPopController.git", from: "1.1.1"),

        targets: [
                    name: "TestSwipeToPopController",
                    dependencies: ["DLSwipeToPopController"])




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


Stars: 0
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

DLSwipeToPopController v1.1.1
2 weeks ago
  • Detect horizontal direction once the gesture end to process as finish transition only

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics