Skip to content

IOS lightweight keyboard manager, use simple and powerful, the keyboard will never block input controls. iOS轻量级的键盘管理器,使用简单功能强大,键盘再也不会挡住输入控件

License

netyouli/WHC_KeyboardManager

Repository files navigation

WHC_KeyboardManager

Build Status Pod Version Pod Platform Pod License 简介

  • 高效: 轻量级实用键盘管理器
  • 安全: 无入侵性,局部控制器键盘自动管理
  • 优势: 集成简单设置灵活
  • 简单: 无需任何配置
  • 灵活: 可自定义键盘处理配置
  • 兼容: 支持横竖屏切换适配

演示

要求

  • iOS 6.0 or later
  • Xcode 8.0 or later

集成

  • 使用CocoaPods:

    【Objective-c】 pod 'WHC_KeyboardManager_oc'

    【Swift5.0+】 pod 'WHC_KeyboardManager'

使用到第三方库

用法

  • 无配置演示
override func viewDidLoad() {
    super.viewDidLoad()
    /*******只需要在要处理键盘的界面创建WHC_KeyboardManager对象即可无需任何其他设置*******/
    WHC_KeyboardManager.share.addMonitorViewController(self)
}
  • 自定义配置演示
override func viewDidLoad() {
    super.viewDidLoad()
    /*******只需要在要处理键盘的界面创建WHC_KeyboardManager对象即可无需任何其他设置*******/
    let configuration = WHC_KeyboardManager.share.addMonitorViewController(self)
    /// 不要键盘头
    configuration.enableHeader = false

    /***configuration里面有丰富实用的自定义配置具体可参看代码***/
}

期待

  • 如果您在使用过程中有任何问题,欢迎issue me! 很乐意为您解答任何相关问题!
  • 与其给我点star,不如向我狠狠地抛来一个BUG!
  • 如果您想要更多的接口来自定义或者建议/意见,欢迎issue me!我会根据大家的需求提供更多的接口!

Licenses

All source code is licensed under the MIT License.

About

IOS lightweight keyboard manager, use simple and powerful, the keyboard will never block input controls. iOS轻量级的键盘管理器,使用简单功能强大,键盘再也不会挡住输入控件

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published