Latest 2.0.0
Homepage https://github.com/andrew-anlu/TLKeyboardUtil-Swift
License MIT
Platforms ios 8.0, requires ARC
Authors

<<<<<<< HEAD

CI Status
Version
License
Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

OBjC对应的版本

objc版本

Installation

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

pod "TLKeyboardUtil-Swift"

How to use

let dd:TLKeyboardUtil=TLKeyboardUtil.sharedInstance;
dd.addKeyboardAutoPopWithView(UIVIew: self.view);

只需简单地两行代码,就可以给你的项目添加上键盘弹出功能。

APIS

 /**
     *  给根视图添加键盘自动弹出功能
     *
     *  @param rootView 根视图,
     */
    func addKeyboardAutoPopWithView(UIVIew view:UIView);

如果想在那个View上添加键盘弹出功能,就可以指定对应的View;
一般我们会在控制器的根目录上的View上增加
addKeyboardAutoPopWithView(根View)即可。

Author

Andrew, [email protected]

License

TLKeyboardUtil-Swift is available under the MIT license. See the LICENSE file for more info.

键盘弹出类库

f2abe36cfdbc7fabae54b4faff1f8a6dd7b31118

Latest podspec

{
    "name": "TLKeyboardUtil-Swift",
    "version": "2.0.0",
    "summary": "u5b8cu7f8eu5b9eu73b0u952eu76d8u5f39u51fau529fu80fduff0cu5e76u4e14u9002u914diOSu5404u4e2au7248u672c",
    "description": ""u4e00u6b3eu7cbeu81f4u7684u5de5u5177uff0cu53efu4ee5u5e2eu52a9u4f60u5febu901fu5b9eu73b0u952eu76d8u7684u5f39u51fauff0cu5b8cu7f8eu89e3u51b3u89c6u56feu4e0au7684u63a7u4ef6u906eu6321u95eeu9898"",
    "homepage": "https://github.com/andrew-anlu/TLKeyboardUtil-Swift",
    "license": "MIT",
    "authors": {
        "Andrew": "[email protected]"
    },
    "source": {
        "git": "https://github.com/andrew-anlu/TLKeyboardUtil-Swift.git",
        "tag": "2.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This