title: Trying to make a Custom UITableViewCell with a UITextField becomeFirstResponder when Editing
body: <p>I have a <code>UITableViewController</code> with custom <code>UITableViewCell</code>s that contain a <code>UITextField</code>. When switching the table view into edit mode, I add a new cell to the bottom of the table and would like to make this cell <code>becomeFirstResponder</code>. My <code>tableView:cellForRowAtIndexPath:</code> method checks for this bottom cell, so I just added the line:</p>
  
  <blockquote>
    <p>[cell.theTextField becomeFirstResponder];</p>
  </blockquote>
  
  <p>Which I believed should work. However, when the table view is first displayed, it does not seem to be working. BUT if I select the cell (making it the first responder), then go out of edit mode (causing a <code>resignFirstResponder</code> within my code), I can then go back into edit mode and magically it becomes the first responder as I would expect!</p>
  
  <p>Note that even if I end editing mode with a different cell selected (they all have text fields) and go out of edit mode, then back in, it still works, <strong><em>as long as</em></strong> at some point I had made the last cell <code>becomeFirstResponder</code> (by selecting it).</p>
  
  <p>So, my guess is that when it first becomes the first responder, there is something getting set either in the table view or some place else that wasn't originally set, and from then on it makes this work.</p>
  
  <p>Anyone have any ideas as to what may be going on here?</p>