When I try this:
class MessagesViewController: UIViewController { ... }
it doesn't prints any error, but when I use this:
class MessagesViewController: JSQMessagesViewController { ... }
it prints, that:
[JSQMessagesInputToolbar preferredDefaultHeight]: unrecognized selector sent to instance 0x7fd6aa6b5b20
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[JSQMessagesInputToolbar preferredDefaultHeight]: unrecognized selector sent to instance 0x7fd6aa6b5b20'
and I do not know how to solve this problem. Any ideas?