I imported the IQKeyboardManager from github via Firebase and it came with some swift 2.0 errors which were easy to fix, basically renaming a lot of things...
If you are using the current version of IQKeyboardManager for newest Swift, please help and let me know if you have gotten this error!
So now with the new version of IQKeyboardManager (3.2 viable), its showing me this error i just cant seem to figure out:
///////////problem here
let toolbar = textField.keyboardToolbar
// error says "Value of type 'UIView' has no
// member 'keyboardToolbar' "
// Setting toolbar to keyboard.
if let _textField = textField as? UITextField {
//Bar style according to keyboard appearance
switch _textField.keyboardAppearance {
case UIKeyboardAppearance.dark:
toolbar.barStyle = UIBarStyle.black
toolbar.tintColor = UIColor.white
toolbar.barTintColor = nil;