Plugin interrupted, invalidated errors for custom keyboard
The problem is in your code, i have faced with this too. Look at my old code
let keyboardNib = UINib(nibName: "ChatCustomKeyboardView", bundle: nil)customKeyboardView = keyboardNib.instantiateWithOwner(self, options: nil)[0] as! UIViewview.addSubview(customKeyboardView)
Then i changed it to this
let nib = UINib(nibName: "ChatCustomKeyboardView", bundle: nil)let objects = nib.instantiateWithOwner(self, options: nil)view = objects[0] as! UIView;
and everything start working. So try to assign your view but not add as subview.