This is a class I wrote that wraps up all of the extra code necessary to hide and show your keyboard.
- Simply add the KeyboardViewController class to your project and swap out the "UIViewController" subclass for the "KeyboardViewController" subclass in any view that has text input fields.
- Set your textField and textView delegates in your viewDidLoad like this:
setDelegates(nameTextField, estimatedPriceTextField, dateTextField, descriptionTextView, historyTextView)