SYKeyboardTextField is a lightweight, simple, non-invasive keyboard accompanying input box! Write in Swift!
- Swift 3
- iOS 8.0 or later
- Drag the file to your project
keyboardTextField = SYKeyboardTextField(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()
//UI
lazy var keyboardView = UIView()
lazy var textView : SYKeyboardTextView = SYKeyboardTextView()
lazy var placeholderLabel = UILabel()
lazy var textViewBackground = UIImageView()
lazy var leftButton = UIButton()
lazy var rightButton = UIButton()
SYKeyboardTextField is available under the MIT license.