Skip to content

Commit 2a62a1a

Browse files
committed
Update README.md
1 parent 8f2f7b6 commit 2a62a1a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ This is a behaviour that can be opt out by using `keyboardLayoutGuideNoSafeArea`
4949

5050
## Installation
5151

52-
### CocoaPods
52+
The Swift Package Manager (SPM) is now the official way to install `KeyboardLayoutGuide`. The other package managers are now deprecated as of `1.7.0` and won't be supported in future versions.
53+
54+
#### Swift Package Manager
55+
56+
`Xcode` > `File` > `Swift Packages` > `Add Package Dependency...` > `Paste` `https://github.com/freshOS/KeyboardLayoutGuide`
57+
58+
### CocoaPods - Deprecated
5359

5460
To install `KeyboardLayoutGuide` via [CocoaPods](http://cocoapods.org), add the following line to your Podfile:
5561

@@ -60,21 +66,14 @@ target 'MyAppName' do
6066
end
6167
```
6268

63-
### Carthage
69+
### Carthage - Deprecated
6470

6571
To install `KeyboardLayoutGuide` via [Carthage](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos), add the following line to your Cartfile:
6672

6773
```
6874
github "freshos/KeyboardLayoutGuide"
6975
```
7076

71-
### Swift Package Manager
72-
73-
To integrate `KeyboardLayoutGuide` via [SPM](https://swift.org/package-manager/) into your Xcode 11 project specify it in Project > Swift Packages:
74-
```
75-
https://github.com/freshOS/KeyboardLayoutGuide
76-
```
77-
7877
### Manually
7978
Just add `Keyboard+LayoutGuide.swift` to your Xcode project.
8079

0 commit comments

Comments
 (0)