Latest 1.0.2
Homepage https://github.com/CactusSoft/CactusKeyboard
License BSD
Platforms ios 9.0
Authors

CactusKeyboard is a usless helper for keyboard observing. It uses system notifications and have UIViewController extension functions, so you don’t need to restructure your project, just use extension functions.

Usage

Import CactusKeyboard in the file:

import CactusKeyboard

Then add observer to yout ViewController:

    override func viewDidLoad() {
        super.viewDidLoad()

        addKeyboardObserver { [weak self] (visible, height) in
            guard let `self` = self else { return }
            print("(self) keyboard visible: (visible) height: (height)")
        }
    }

    deinit {
        removeKeyboardObserver()
    }

Installation

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

pod 'CactusKeyboard'

Author

MaksimVialykh, [email protected]

License

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

Latest podspec

{
    "name": "CactusKeyboard",
    "version": "1.0.2",
    "license": {
        "type": "BSD"
    },
    "homepage": "https://github.com/CactusSoft/CactusKeyboard",
    "authors": {
        "Maxim Vialykh": "[email protected]"
    },
    "summary": "CactusKeyboard - simple observing of keyboard visibility.",
    "source": {
        "git": "https://github.com/CactusSoft/CactusKeyboard.git",
        "tag": "1.0.2"
    },
    "source_files": "CactusKeyboard/Classes/**/*",
    "platforms": {
        "ios": "9.0"
    },
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This