Skip to content

Commit

Permalink
Initial SPM Support
Browse files Browse the repository at this point in the history
  • Loading branch information
TosinAF committed Nov 11, 2019
1 parent 45f8dfc commit 7f07cdf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Package.swift
Expand Up @@ -18,5 +18,5 @@ let package = Package(
dependencies: [],
path: "PanModal")
],
swiftLanguageVersions: [.version("4.2")]
swiftLanguageVersions: [.version("5.0")]
)
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -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`
Expand Down

0 comments on commit 7f07cdf

Please sign in to comment.