below you\'ll find my .h & .m files for my primary viewcontroller.
I have 3 questions.
1.) Because I have multiple uitextfields, do I have to set each with
When the UITextField
in question calls the delegate method of - (BOOL)textFieldShouldReturn:(UITextField*)textField
it passes itself in as the argument.
So the specific textField
available as an argument to this method IS the specific one you care about. Within this delegate method, you can just refer to it as "textField".
That means that you should use what Mirko Catalano advised calling resignFirstResponder
on textField
rather than on the individual properties like you were doing.
Mirko's suggestion to verify that the delegate is indeed assigned is critical as well. You'll want to make sure that ALL of your UITextFields in the nib or storyboard have their delegate property pointing to File's Owner. Otherwise the delegate message will go nowhere and promptly be ignored!