I have a class for avoiding the keyboard. No subclassing necessary. github.com/douglashill/DHAvoidKeyboardBehaviour