Skip to content
KeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!
Branch: master
Clone or download
Latest commit d271839 Mar 23, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
KeyboardTextField change class name Mar 23, 2018
KeyboardTextFieldDemo change class name Mar 23, 2018
README.md
SYKeyboard.gif 上传介绍git Apr 30, 2015
Snip20150129_1.png 更换介绍图 Jan 29, 2015
logo.png Revert "update logo" Mar 14, 2018
style.png update demo and readme Sep 8, 2016

README.md

KeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!

Requirements

  • Swift 4
  • iOS 8.0 or later

Installation

  • Drag the file to your project

Usage

    keyboardTextField = KeyboardTextField(point: CGPoint(x: 0, y: 0), width: self.view.bounds.size.width)
    keyboardTextField.delegate = self
    keyboardTextField.isLeftButtonHidden = false
    keyboardTextField.isRightButtonHidden = false
    keyboardTextField.autoresizingMask = [UIViewAutoresizing.flexibleWidth , UIViewAutoresizing.flexibleTopMargin]
    self.view.addSubview(keyboardTextField)
    keyboardTextField.toFullyBottom()

How to custom UI Style ?

    //UI
    lazy var keyboardView = UIView()
    lazy var textView : KeyboardTextView = KeyboardTextView()
    lazy var placeholderLabel = UILabel()
    lazy var textViewBackground = UIImageView()
    lazy var leftButton = UIButton()
    lazy var rightButton = UIButton()

Author

@余书懿

License

KeyboardTextField is available under the MIT license.

You can’t perform that action at this time.