Swiftpack.co - shaokui-gu/GM-Dragable as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by shaokui-gu.
shaokui-gu/GM-Dragable 0.1.8
A DragableView extension for GM
⭐️ 0
🕓 1 week ago
iOS
.package(url: "https://github.com/shaokui-gu/GM-Dragable.git", from: "0.1.8")

GM-Dragable

A DragableView extension for GM

How to use it

  • UIViewController
try? self.showDragableFragment("/main", params: [
            "id": 1
            ...
        ], backgroundColor: .clear, showShadow: true, disableGestureClose: true, height: 320, onDismiss: {
           /// do something on dismiss
           ...
        })
  • GM
  GM.showDragableFragment("/main", params: [
            "id": 1
            ...
        ], backgroundColor: .clear, showShadow: true, disableGestureClose: true, height: 320, onDismiss: {
           /// do something on dismiss
           ...
        })

GitHub

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

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