Initial SPM Support

This commit is contained in:
Tosin Afolabi 2019-11-11 10:52:18 -08:00
parent 45f8dfcf19
commit 7f07cdff27
2 changed files with 9 additions and 1 deletions

View File

@ -18,5 +18,5 @@ let package = Package(
dependencies: [],
path: "PanModal")
],
swiftLanguageVersions: [.version("4.2")]
swiftLanguageVersions: [.version("5.0")]
)

View File

@ -54,6 +54,14 @@ pod 'PanModal'
github "slackhq/PanModal"
```
* Swift Package Manager, add the following line to your Package.swift:
```swift
dependencies: [
.package(url: "https://github.com/slackhq/PanModal.git", .exact("1.2.6")),
],
```
## Usage
PanModal was designed to be used effortlessly. Simply call `presentPanModal` in the same way you would expect to present a `UIViewController`