Skip to content

Instantly share code, notes, and snippets.

@dperetti
Created January 13, 2013 11:00
Show Gist options
  • Save dperetti/4523529 to your computer and use it in GitHub Desktop.
Save dperetti/4523529 to your computer and use it in GitHub Desktop.
Trigger the update of a single item in a tableView
- (void)tableViewUpdatePerformance:(Performance *)performance {
[self.tableView beginUpdates];
[self.tableView reloadRowsAtIndexPaths:@[[NSIndexPath indexPathForRow:[self.performances indexOfObject:performance] inSection:0]] withRowAnimation:UITableViewRowAnimationNone];
[self.tableView endUpdates];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment