Created
December 20, 2012 08:34
-
-
Save naotokui/4343823 to your computer and use it in GitHub Desktop.
Update a specific cell in tableview
This file contains 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)reloadRow: (NSInteger) row inSection:(NSInteger) section | |
{ | |
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:row inSection:section]; | |
NSArray *indexPaths = [[NSArray alloc] initWithObject:indexPath]; | |
[self.tableView reloadRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationNone]; //UITableViewRowAnimationFace or whatever | |
[indexPaths release]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment