Use UITextFieldDelegate instead of wiring UITextField events individually.