diff --git a/Example/demo.gif b/Example/demo.gif new file mode 100644 index 0000000..433e536 Binary files /dev/null and b/Example/demo.gif differ diff --git a/Example/demo.mp4 b/Example/demo.mp4 deleted file mode 100644 index e5f8397..0000000 Binary files a/Example/demo.mp4 and /dev/null differ diff --git a/README.md b/README.md index 566983e..9531b12 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ Provides a reactive way to observe the changes of the keyboard's frame using Swift Combine. - +![demo](./Example/demo.gif) ## Requirements @@ -47,7 +45,13 @@ override func viewWillDisappear(_ animated: Bool) { Add the below line to your Package.swift file as a dependency: ```swift -.package(url: "https://github.com/DouKing/KeyboardObserver.git", branch: "main") +.package(url: "https://github.com/DouKing/KeyboardObserver.git", .upToNextMajor(from: "1.0")) +``` + +Normally you'll want to depend on the `KeyboardObserver` target: + +```swift +.product(name: "KeyboardObserver", package: "KeyboardObserver") ``` ## License