Latest 0.1.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 don’t have to write any single line of code or to setup anything in Storyboard. Just import this library in project.

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.1.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
    ...
}

Notes

Library is working in general, but there are things to be fixed. Library and documentation are in preparation and will be updated regularly.
If you find any bug, report it and I will try to fix it as soon as possible.

Latest podspec

{
    "name": "WDKeyboardManagerSwift",
    "platforms": {
        "ios": "10.0"
    },
    "version": "0.1.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.1.2"
    },
    "source_files": "WDKeyboardManagerSwift/WDKeyboardManagerSwift/WDKeyboardManagerSwift/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This