Giter Site home page Giter Site logo

lerist / whc_keyboardmanager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netyouli/whc_keyboardmanager

0.0 2.0 0.0 2.24 MB

iOS平台轻量级的键盘管理器,使用简单功能强大,键盘再也不会挡住输入控件

License: MIT License

Ruby 0.38% Objective-C 57.31% Swift 42.32%

whc_keyboardmanager's Introduction

WHC_KeyboardManager

Build Status Pod Version Pod Platform Pod License 简介

  • 高效: 轻量级拒绝复杂或看不懂的Api
  • 安全: 拒绝监听干扰整个App,无入侵性,局部键盘监控处理
  • 优势: 集成简单设置灵活
  • 简单: 无需任何复杂配置
  • 灵活: 可自定义键盘处理配置
  • 兼容: 支持横竖屏切换适配
  • 咨询: 712641411
  • 作者: 吴海超

演示

<img src = "https://github.com/netyouli/WHC_KeyboardManager/blob/master/WHC_KeyboradManager/demo/k1.gif", width = "375"><img src = "https://github.com/netyouli/WHC_KeyboardManager/blob/master/WHC_KeyboradManager/demo/k2.gif", width = "375">

要求

  • iOS 6.0 or later
  • Xcode 8.0 or later

集成

  • 使用CocoaPods:
    • 【Objective-c】 pod 'WHC_KeyboardManager_oc', '~> 1.0.5'
    • 【Swift】 pod 'WHC_KeyboardManager', '~> 1.0.4'
  • 手工集成:
    • 【Objective-c】 导入文件夹WHC_KeyboardManager(OC)
    • 【Swift】 导入文件夹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.

whc_keyboardmanager's People

Contributors

netyouli avatar

Watchers

Lerist avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.