Skip to content

Commit 93d002e

Browse files
authored
Merge pull request #26 from dstranz/feature/spm
Add SPM intergration
2 parents d13e18a + 63b4037 commit 93d002e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

Package.swift

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// swift-tools-version:5.1
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "KeyboardLayoutGuide",
6+
platforms: [.iOS(.v9)],
7+
products: [
8+
.library(name: "KeyboardLayoutGuide", targets: ["KeyboardLayoutGuide"]),
9+
],
10+
targets: [
11+
.target(
12+
name: "KeyboardLayoutGuide",
13+
dependencies: [],
14+
path: "KeyboardLayoutGuide/KeyboardLayoutGuide"
15+
)
16+
]
17+
)

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ To install `KeyboardLayoutGuide` via [Carthage](https://github.com/Carthage/Cart
6363
github "freshos/KeyboardLayoutGuide"
6464
```
6565

66+
### Swift Package Manager
67+
68+
To integrate `KeyboardLayoutGuide` via [SPM](https://swift.org/package-manager/) into your Xcode 11 project specify it in Project > Swift Packages:
69+
```
70+
https://github.com/freshOS/KeyboardLayoutGuide
71+
```
72+
6673
### Manually
6774
Just add `Keyboard+LayoutGuide.swift` to your Xcode project.
6875

0 commit comments

Comments
 (0)