title: iPhone -> Replace UITableView with UITableViewController
body: <p>I have a ViewController with a nib which have a <code>UIView</code>and a <code>UITableView</code>. This table view is designed with custom table cells. These table cells has Labels und Textfields.</p>
  
  <p>Now I have the problem that the textfields will disappear under the software keyboard. I read on the <a href="http://developer.apple.com/library/ios/#documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html#//apple_ref/doc/uid/TP40009542-CH5-SW7" rel="nofollow">Apple Developer</a> pages "Moving Content that is located under the keyboard", that with a <code>UITableViewController</code> the scrolling will be done automatically and I do not have trouble with scrolling the table view myself:</p>
  
  <blockquote>
    <p>Note: As of iOS 3.0, the UITableViewController class automatically resizes and 
        repositions its table view when there is in-line editing of text fields. 
        See “View Controllers and Navigation-Based Applications” in Table 
        View Programming Guide for iOS.</p>
  </blockquote>
  
  <p>So, how can I replace my <code>UIView</code> -> <code>UITableView</code> with a <code>UITableViewController</code>?</p>
  
  <p>What I tried: I put a "Table View Controller" in Interface Builder into the Objects where <code>UIView</code> -> <code>UITableView</code> is. Then I delete the <code>UIView</code> and <code>UITableView</code>. Then I connect the <code>Table View</code> under <code>Table View Controller</code> with the File´s owner which has a property of UITableView.
  Running now my app, I get this error: </p>
  
  <pre><code>'-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "MyAddView" nib but the view outlet was not set.'
  </code></pre>
  
  <p>What's the problem here? Can anyone help me?</p>
  
  <p>Thank you in advance &amp; Best Regards.</p>
  
  <p><strong>Update</strong>:</p>
  
  <pre><code>MyAddViewController *myAddViewController = [[MyAddViewController alloc] initWithNibName:@"MyAddView" bundle:nil];
  UINavigationController *myAddNavigationViewController = [[UINavigationController alloc] initWithRootViewController:myAddViewController];
  [myAddViewController release];
  [self presentModalViewController:myAddNavigationViewController animated:YES];
  </code></pre>
  
  <p>-In the last line, the error is thrown.</p>