Latest 0.0.2
Homepage https://github.com/VladimirDinic/WDKeyboardManagerSwift
License MIT
Platforms ios 10.0
Authors

This library enables you to setup automatic moving content to prevent keyboard to cover UITextField and UITextView, and to close keyboard on simple touch. You have to write only one line of code (only one) and you don’t have to setup anything in Storyboard.

CocoaPods Compatible
License
Platform

For ObjectiveC version of this library, look at WDKeyboardManager

GitHub Logo

Installation:

Manual:

Download this project and add WDKeyboardManagerSwift folder (with WDKeyboardManagerSwift.swift file) to your project

CocoaPods:

target '<TargetName>' do
    use_frameworks!
    pod 'WDKeyboardManagerSwift', ' ~> 0.0.2'
end

Usage

After you include this library in your project, just open AppDelegate, include WDKeyboardManagerSwift library add this single line in inside didFinishLaunchingWithOptions method:

let _:WDKeyboardManagerSwift = WDKeyboardManagerSwift.sharedInstance

Example:

import WDKeyboardManagerSwift
...
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    ...
    let _:WDKeyboardManagerSwift = WDKeyboardManagerSwift.sharedInstance
    ...
}

Note

Library is working and will be updated regularly and documentation is in preparation

Latest podspec

{
    "name": "WDKeyboardManagerSwift",
    "platforms": {
        "ios": "10.0"
    },
    "version": "0.0.2",
    "summary": "WDKeyboardManagerSwift is a keyboard manager for iOS apps.",
    "description": "This library enables you to setup automatic moving content to prevent keyboard to cover UITextField and UITextView, and to close keyboard on simple touch. You have to write only one line of code (only one) and you don't have to setup anything in Storyboard.",
    "homepage": "https://github.com/VladimirDinic/WDKeyboardManagerSwift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vladimir Dinic": "[email protected]"
    },
    "source": {
        "git": "https://github.com/VladimirDinic/WDKeyboardManagerSwift.git",
        "tag": "0.0.2"
    },
    "source_files": "WDKeyboardManagerSwift/WDKeyboardManagerSwift/WDKeyboardManagerSwift/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This