title: Rearrange UITableView sections, rows, and rows between sections
body: <p>I am trying to accomplish the following 3 requirements:</p>
  
  <ol>
  <li>Display a <code>UITableView</code> that has sections of content.</li>
  <li>Be able to rearrange the rows of the table between sections.</li>
  <li>Be able to rearrange the sections, similar to how rearranging rows works.</li>
  </ol>
  
  <p>(Also, I cannot use a <code>UICollectionView</code>)</p>
  
  <p>I can currently do the first two without any problem. I've done iOS development for a while now, but I'm stumped on how to actually rearrange the sections, and make it appear as it would be if you were moving a row. </p>
  
  <p>I've tried to make a nested table in a <code>UITableViewCell</code>, and pretend the first cell is a "header," but this only works for moving sections and breaks the ability to rearrange rows between sections (admittedly, I could be going about this wrong). </p>
  
  <p>I realize this is a complex question, but any help would be appreciated - even if the answer is "can't be done." </p>