RKKeyboardManager 0.1.4

RKKeyboardManager 0.1.4

Maintained by Roman Kotov.



  • By
  • DaskiOFF

RKKeyboardManager

CI Status Cocoapods compatible Version Platform iOS Swift Version 4.2 License MIT

Usage

let scrollView = UIScrollView()

let keyboardManager = RKKeyboardManager()
// or let keyboardManager = RKKeyboardManager(scrollView: scrollView)

// keyboardManager.subscribe()
// keyboardManager.unsubscribe()

func setupKeyboardManager() {
    keyboardManager.setOnWillChangeFrameBlock { [weak self] keyboardFrame, keyboardEvent in
        guard let sself = self else { return }
        switch keyboardEvent {
        case .willShow, .justChange:
            // do ...
        case .willHide:
            // do ...
        }
    }
}

Documentations

https://daskioff.github.io/RKKeyboardManager/

Requirements

Installation

RKKeyboardManager is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RKKeyboardManager'

Author

DaskiOFF, [email protected]

License

RKKeyboardManager is available under the MIT license. See the LICENSE file for more info.

Dependencies

Последний раз проект собирался с версией Xcode указанной в файле .xcode-version (Подробнее)

Последний раз проект собирался с версией Swift указанной в файле .swift-version