From 2a62a1a0b64e3c7db227c7da67e94292c1897903 Mon Sep 17 00:00:00 2001 From: S4cha Date: Tue, 24 Dec 2019 12:25:17 +0100 Subject: [PATCH] Update README.md --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 065a226..57daecb 100644 --- a/README.md +++ b/README.md @@ -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: @@ -60,7 +66,7 @@ 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: @@ -68,13 +74,6 @@ 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.