Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
michaelnisi/InsetPresentation
InsetPresentation
The InsetPresentation Swift package provides modal presentation, blatantly snatched from Daniel Gauthier.
+---------------------+
| |
| +---------------+ |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| +---------------+ |
| |
+---------------------+
Example
Example call site might look like this.
let insets = UIEdgeInsets(top: 200, left: 0, bottom: 0, right: 0)
self?.present(vc, interactiveDismissalType: .vertical, insets: insets) {
completion?()
}
Install
๐ฆ Add https://github.com/michaelnisi/InsetPresentation
to your package manifest.
License
Github
link |
Stars: 1 |
Last commit: 6 days ago |