I currently have two UITextFields, the first one has a UIReturnKeyNext returnKeyType and the second has a UIReturnKeyGo returnKeyType. It's a login form, so the idea is you enter your username, hit return or "Next" and then type your password and hit return or "Go".
The way I am currently handling the return key event is by setting the delegate of the UITextFields to the view controller class, and implementing the (BOOL)textFieldShouldReturn

UITextField *)textField method. In the method, I check which textField it is and perform the corresponding action.
It seems to work fine, but it feels dirty...just wondering if there is a way to listen to the return event for each field individually.
This is all programmatic, by the way, I'm not using IB to create the inputs or handle any events.