title: How can I animate the dismissal of a UITableView swipe-to-delete button?
body: <p>As is done in the iPhone Mail app, I would like have the "Delete" button which appears on swiping an editable table cell from right to left to <em>animate</em> when it is dismissed (by way of tapping elsewhere than the Delete button on the <code>UITableViewCell</code>). Instead, my Delete button immediately disappears when it is dismissed.</p>
  
  <p>To invoke the Delete button on swiping a table cell in the first place, I have added (to the class which is the <code>UITableViewDataSource</code> and <code>UITableViewDelegate</code> for the <code>UITableView</code> in question):</p>
  
  <pre><code>// Override to support conditional editing of the table view.
  - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
      return YES;
  }
  
  // Override to support editing the table view.
  - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath {
      if (editingStyle == UITableViewCellEditingStyleDelete) {
          //add code here for when you hit delete
      }       
  }
  </code></pre>
  
  <p>Is there something I might add to this which will handle the animation of the Delete button when it is dismissed? Thank you!</p>