SkillAgentSearch skills...

KeyboardTextField

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

Install / Use

/learn @yushuyi/KeyboardTextField
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img src="https://github.com/yushuyi/KeyboardTextField/blob/master/logo.png" alt="" /> </p>

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

<img src="https://github.com/yushuyi/KeyboardTextField/blob/master/SYKeyboard.gif" width="501" height="538" />

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()
<img src="https://github.com/yushuyi/KeyboardTextField/blob/master/style.png" width="375" height="667" />

Author

@余书懿

License

KeyboardTextField is available under the MIT license. System requirements

View on GitHub
GitHub Stars175
CategoryDevelopment
Updated15d ago
Forks15

Languages

Swift

Security Score

85/100

Audited on Mar 17, 2026

No findings