Reusable iOS's behavior to pop ViewController base on SwipeRightToPopController:
velocity
percent
of distance with the screen widthThere are three ways to install DLSwipeToPopController
Just add to your project's Podfile
:
pod 'DLSwipeToPopController', '~> 1.1'
Add following to Cartfile
:
github "lengocduy/DLSwipeToPopController" ~> 1.1
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.4"),
],
targets: [
.target(
name: "TestSwipeToPopController",
dependencies: ["DLSwipeToPopController"])
]
)
DLSwipeToPopController is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 1 |
Last commit: 2 years ago |
didPopViewController
when view was popped out Navigation Stack onlySwiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics