title: Swipe to delete
body: <p>I've looked and i can't seem to find any where on stack overflow some one that has had the same problem as me. So I use the following code:</p>
  
  <pre><code>  -(void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
  {
      if (editingStyle == UITableViewCellEditingStyleDelete); 
  }
  </code></pre>
  
  <p>and when i swipe the delete button appears, but when pressed it doesn't do anything, what have i forgotten to do?</p>