title: UiTextField and resignFirstResponder
body: <p>I have a weird setup.</p>
  
  <p>I have a <code>View</code> called <strong>View1</strong> and a <code>ViewController</code> call <strong>viewController1</strong></p>
  
  <p>in <code>IB</code>, <strong>View1</strong> is a child of the <strong>ViewController1</strong>.</p>
  
  <p>Inside <strong>View1</strong>, I created using code a <code>UITextField</code> and added as a subview.</p>
  
  <p>In my <code>Viewcontroller</code>, I have <code>viewController1 : UIViewController &lt;UITextFieldDelegate&gt;</code></p>
  
  <p>Now.. I would like to resign the keyboard when the text field within <strong>View1</strong> gets the "Done" button in the keyboard so I have </p>
  
  <pre><code>- (BOOL)textFieldShouldReturn:(UITextField *)TEXTFIELD {
      [TEXTFIELD resignFirstResponder];
  }
  </code></pre>
  
  <p>Now the question is, how do I make the connection between TEXTFIELD (defined in my viewcontroller) and the textfield defined in my View?</p>
  
  <p>Do I have to do something in interfaceBuilder?</p>
  
  <p>maybe I am totally off here....</p>
  
  <p>Some hints greatly appreciated</p>