I went through this tutorial Your First iPhone Application and it worked great. My question is about the line in the tutorial that reads as follows:
The view controller is also going to be the text field’s delegate; as such, it must adopt the UITextFieldDelegate protocol. To specify that a class adopts a protocol, in the interface add the name of the protocol in angle brackets (<>) after the name of the class from which your class inherits.
If I remove the protocol from view controller the method is still called (message is received) and the keyboard is dismissed. I noticed that all the methods for the UITextFieldDelegate protocol are optional. If that's the case, why declare that the view controller adheres to the protocol? What am I missing? :-)