Swiftpack.co -  Package - alphatroya/KeyboardManager
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Simple wrapper around UIKeyboardNotification events
.package(url: "https://github.com/alphatroya/KeyboardManager.git", from: "2.0")

Keyboard Manager

Swift 5.0+ Run tests codebeat badge Documentation

Simple wrap up for UIKeyboardNotification events


The framework introduces a KeyboardObserver object with helper methods that simplify working with UIKeyboardNotification data.

self.observationToken = KeyboardObserver.addObserver { event in
    if case let .willShow(data) = event {
        // process KeyboardManager.Data struct


Swift Package Manager (required Xcode 11)

  1. Select File > Swift Packages > Add Package Dependency. Enter https://github.com/alphatroya/KeyboardManager in the "Choose Package Repository" dialog.
  2. In the next page, specify the version resolving rule as "Up to Next Major" with "1.4.0" as its earliest version.
  3. After Xcode checking out the source and resolving the version, you can choose the "KeyboardManager" library and add it to your app target.


Alexey Korolev, alphatroya@gmail.com


Stars: 0
Last commit: 1 week ago

Release Notes

Introduce keyboard subscription tokens
1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco