I'm following this iPhone tutorial from Apple and I think I did everything correctly, however the app is not behaving as it should. I checked the troubleshooting section and I still think I got things right.
So I guess I need help to tell where the problem is... here is a snapshot of the relevant connections in Interface Builder.
Basically, the keyboard's Done button doesn't dismiss the keyboard, and the Hello button from the view doesn't trigger the changeGreeting method.
If you can't tell what's missing, just ask for me to post some code or whatever is relevant. Thanks!
This is in the controller:
- (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
if (theTextField == textField) {
[textField resignFirstResponder];
}
return YES;
}
Edit: I'm an idiot, I hadn't saved the nib file, thought I had. Sorry!