Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Dec 24, 2019
1 parent 8f2f7b6 commit 2a62a1a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@ This is a behaviour that can be opt out by using `keyboardLayoutGuideNoSafeArea`

## Installation

### CocoaPods
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.

#### Swift Package Manager

`Xcode` > `File` > `Swift Packages` > `Add Package Dependency...` > `Paste` `https://github.com/freshOS/KeyboardLayoutGuide`

### CocoaPods - Deprecated

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

Expand All @@ -60,21 +66,14 @@ target 'MyAppName' do
end
```

### Carthage
### Carthage - Deprecated

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:

```
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 2a62a1a

Please sign in to comment.