commitEditingStyle in tableview datasource methods
<p>i had nsmutablearray hold data one two three four five...</p>

<p>i need to delete data from my commitEditingStyle...</p>

<pre><code>   - (void)tableView:(UITableView *)aTableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath 
    {

        if (editingStyle == UITableViewCellEditingStyleDelete) 
        {

        [favoriteListArray removeObjectAtIndex:indexPath.row];

    //  [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
  //    [tableView deleteRowsAtIndexPaths:[favoriteListArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
        }
    }
</code></pre>

<p>What do to delete selected list.</p>

<p>my application get crashed</p>

<p><em>*</em> Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of sections.  The number of sections contained in the table view after the update (4) must be equal to the number of sections contained in the table view before the update (5), plus or minus the number of sections inserted or deleted (0 inserted, 0 deleted).'</p>

<p>@thanks in advance</p>
