/ios10Keyboard

iOS keyboard for tableView or UIViews Storyboard implementation

Primary LanguageSwift

iOS10Keyboard

iOS keyboard for tableView or UIViews Storyboard implementation

alt tag

How to Use IEHKeyboard

Copy the 2 sources files into your project (Cocoapod coming soon)

alt tag

alt tag

Add a tableview into your view controller and set the class to IEHTableView (if your adding the functionality to a UIView just replace IEHTableView to IEHView )

alt tag

alt tag

Add tableView as an outlet to your view controller

alt tag

To get the final text before the send button is tapped

1 - set self as the delegate of the keyboardBar in the viewDidLoad() tableView.keyboardBar.iehKeyboardDelegate = self

2 - conform to the IEHKeyboardBarProtocol class ViewController: UIViewController, UITableViewDelegate,UITableViewDataSource, IEHKeyboardBarProtocol {

3 - conform to the IEHKeyboardBarProtocol method func iehKeyboardFinishing(text: String)

Your good to go