https://github.com/noppefoxwolf/swipepopinteraction
https://github.com/noppefoxwolf/swipepopinteraction
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noppefoxwolf/swipepopinteraction
- Owner: noppefoxwolf
- Created: 2024-10-29T14:54:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T14:54:33.000Z (over 1 year ago)
- Last Synced: 2025-12-23T00:51:23.586Z (6 months ago)
- Language: Swift
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwipePopInteraction
```swift
import UIKit
import SwipePopInteraction
final class NavigationController: UINavigationController {
override func viewDidLoad() {
super.viewDidLoad()
let interaction = SwipePopInteraction(delegate: self)
view.addInteraction(interaction)
}
}
extension NavigationController: SwipePopInteractionDelegate {
func navigationController(for interaction: SwipePopInteraction) -> UINavigationController {
self
}
}
```