Question: my app crashes when the user tries to delete a row from the UITableView and in the debugger I get the SIGABRT error.

Here is my code for deletion:

```
- (void) tableView:(UITableView *)tableView
commitEditingStyle:(UITableViewCellEditingStyle)editingStyle 
forRowAtIndexPath:(NSIndexPath *)indexPath
{
  if (editingStyle == UITableViewCellEditingStyleDelete)
  {
    [[self displayedObjects] removeObjectAtIndex:[indexPath row]];

    //  Animate deletion
    NSArray *indexPaths = [NSArray arrayWithObject:indexPath];
    [[self tableView] deleteRowsAtIndexPaths:indexPaths
                            withRowAnimation:UITableViewRowAnimationFade];
    //[[self tableView] deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath]];
  }
}

```

Answer: 
I got help in another question. And the problem is that the object would be deleted from the array but then before deleting the row from the table view , the numberOfRowsInSection is called again which then loads the array from disk again and give the number before the deletion due to a problem in my loading of the array. I put a break point at the numberOfRowsInSection and it is all clear now.
I compared with my code to see where you went wrong.

```
        //Removes From Table
    [favorites removeObjectAtIndex:indexPath.row];
    [tableView deleteRowsAtIndexPaths:[NSMutableArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationLeft];

```

Favorites is my array. What I think you're going to need to do is change this line:

```
   [[self displayedObjects] removeObjectAtIndex:[indexPath row]];

```

First, put that line immediately before this one: 

```
[[self tableView] deleteRowsAtIndexPaths:indexPaths
                            withRowAnimation:UITableViewRowAnimationFade];

```

And then change `self` to the name of your array that the table is displaying.

**ALSO! VERY IMPORTANT**

Make sure the array that the table is displaying is a `NSMutableArray` NOT a `NSArray`

With an NSArray, you can't change (add or delete) values. However, with an `NSMutableArray` you can, so make sure you aren't displaying a `NSArray`