title: Rogue tableview keyboard, unable to dismiss - iOS Swift
body: <p><strong>Exact Problem Discovered:</strong> I select a textfield and enter a value.  Then I select a new textfield in a tableview cell, HOWEVER!  when the first textfield that was selected "didEndEdit" it reloads the tableview (by design).  This causes the "Rogue Keyboard".  The textfield in a cell that was selected presents its keyboard, but then the tableview is reloaded destroying the reference to the keyboard resulting in a stuck keyboard.</p>
  
  <p>Has anyone encountered this, and if so what were some solutions?  I do NEED to reload the entire table after a textfield does end editing (so that a user doesnt need to press a button every time they are done entering in a value.</p>
  
  <p>Background info, may not be relevant since the new discoveries.</p>
  
  <p>I have a <code>UIViewController</code> with a View containing a textfield above a  <code>tableView</code>. inside the tableview there are 2 possible cell types.
  Type 1: Has 1 textfield
  Type 2: Has 2 textfields.</p>
  
  <p>I am having keyboard management problems if a user goes to (for example) indexPath.row 2 and selected the textfield, then from within editing indePath.row 2 textfield, selected indexPath.row 3 textfield.  The second texfield does not get selected and the keyboard remains present and is unresponsive to any key presses.</p>
  
  <p>The same issue persist with both cell of type 1 and 2 as described above.</p>
  
  <p>I have tried <code>self.view.endEditing(True)</code> as well as resigningfirst responder's of ALL of the textfields.  None of these get this "Rogue" keyboard to disappear.</p>
  
  <p>I have isolated the problem to <strong>reloading my tableview</strong> after the textfield does end editing.  For some reason talbeView.reloadData() causes a rogue keyboard... The reason is beyond me... Still looking for a fix</p>