Created
January 13, 2013 11:00
-
-
Save dperetti/4523529 to your computer and use it in GitHub Desktop.
Trigger the update of a single item in a tableView
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (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