Skip to content

Commit

Permalink
Add SPM intergration
Browse files Browse the repository at this point in the history
  • Loading branch information
dstranz committed Jul 5, 2019
1 parent d13e18a commit 63b4037
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// swift-tools-version:5.1
import PackageDescription

let package = Package(
name: "KeyboardLayoutGuide",
platforms: [.iOS(.v9)],
products: [
.library(name: "KeyboardLayoutGuide", targets: ["KeyboardLayoutGuide"]),
],
targets: [
.target(
name: "KeyboardLayoutGuide",
dependencies: [],
path: "KeyboardLayoutGuide/KeyboardLayoutGuide"
)
]
)
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ To install `KeyboardLayoutGuide` via [Carthage](https://github.com/Carthage/Cart
github "freshos/KeyboardLayoutGuide"
```

### Swift Package Manager

To integrate `KeyboardLayoutGuide` via [SPM](https://swift.org/package-manager/) into your Xcode 11 project specify it in Project > Swift Packages:
```
https://github.com/freshOS/KeyboardLayoutGuide
```

### Manually
Just add `Keyboard+LayoutGuide.swift` to your Xcode project.

Expand Down

0 comments on commit 63b4037

Please sign in to comment.