title: UITableView delete and reload cells
body: <p>I am delete some rows in UITableView like this:</p>
  
  <pre><code>[tableView deleteRowsAtIndexPaths:toDelete withRowAnimation:UITableViewRowAnimationAutomatic];
  </code></pre>
  
  <p>This adds a nice animation to the delete operation.</p>
  
  <p>However, after deleting I need to update all the currently visible rows. Calling </p>
  
  <pre><code>[tableView reloadData];
  </code></pre>
  
  <p>right after the first call works, but the nice animation effect is gone. What's a better way to do this? i.e., to animate the delete operation, and update all the currently visible rows?
  Thanks!</p>
  
  <p>The reason why I need to do this is because each cell contains a 'checkbox'. My view controller is checkbox's delegate and each checkbox has an NSIndexPath associated with it. When the checkbox is toggled, delegate is called telling it hey we toggled for x index path. Now, if some rows are deleted, the index paths need to be update. That's why I need to reload everything so each checkbox knows where it belongs.</p>