Created
September 30, 2008 04:46
-
-
Save augustjoki/13745 to your computer and use it in GitHub Desktop.
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
UITableViewCell *oldCell = [tableView cellForRowAtIndexPath:selectedIndexPath]; | |
UITableViewCell *newCell = [tableView cellForRowAtIndexPath:indexPath]; | |
//[UIView beginAnimations:nil context:nil]; | |
oldCell.accessoryType = UITableViewCellAccessoryNone; | |
newCell.accessoryType = UITableViewCellAccessoryCheckmark; | |
//[UIView commitAnimations]; | |
self.selectedIndexPath = indexPath; | |
[self performSelector:@selector(deselectRow) withObject:nil afterDelay:0.0]; | |
return indexPath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment