title: indexPath not updated after using deleteRowsAtIndexPaths
body: <p>I created a method which updates my UITableView when the user wants to delete a cell.</p>
  <pre><code>-(void)removeMoreFriendsRow:(NSNotification *)notification {
  NSDictionary *d = [notification userInfo];
  NSIndexPath *index = [d objectForKey:@&quot;indexPath&quot;];
      
  [self.p_currentFriends removeObjectAtIndex:index.row];
      
  [self.o_table deleteRowsAtIndexPaths:[NSArray arrayWithObject:index] withRowAnimation:UITableViewRowAnimationRight];
  }
  </code></pre>
  <p>p_currentFriends is a NSMutableArray which contains all the objects printed by the UITableView.</p>
  <p>This method works fine when I use it once, but it fails when I use it more than once.</p>
  <p>It appears that the indexPath stay the same at each call of deleteRowsAtIndexPaths.</p>
  <p>For example,</p>
  <ul>
  <li>at the first call, the user taps on the second cell, indexPath = [0,1] and the correct cell is deleted,</li>
  <li>at the second call, the user taps on the third cell and indexPath = [0,3] instead of [0,2]</li>
  </ul>
  <p>The only way I found to make it works is to use reloadData but I want to have a animation on the cell deletion.</p>
  <p>How can I do this?</p>