Setting UITextField Delegate Using Interface Builder and Not Updating the Header File
<p>I am stepping into the deep waters of IPhone development. I have the following header file. </p>

<pre><code>//
//  FirstProjectViewController.h
//  FirstProject
//
//  Created by Mohammad Azam on 6/25/10.
//  Copyright HighOnCoding 2010. All rights reserved.
//

#import &lt;UIKit/UIKit.h&gt;

@interface FirstProjectViewController : UIViewController&lt;UITextFieldDelegate&gt; {

    IBOutlet UITextField *number1TextField; 
    IBOutlet UITextField *number2TextField; 
    IBOutlet UILabel *resultLabel; 

}

- (IBAction) add: (id) sender; 



@end
</code></pre>

<p>I want to hide the virtual keyboard when the user clicks the "Return" key. For this my controller implements the UITextFieldDelegate. I also went to the interface builder and hooked up the UITextField delegate to the File Owner using connections. But my header file is never updated. Should it not updated and add a method called textFieldShouldReturn. </p>

<p>I have implemented textFieldShouldReturn method in my implementation file (.m) and it works fine but if the header file never updates with the definition of the textFieldShouldReturn method then how should I ever know that my implementation file needs to implement textFieldShouldReturn method. </p>

<p>Thanks,</p>
