¡@

Home 

2014/10/15 ¤U¤È 10:05:05

iphone Programming Glossary: checkeddata

How to preserve the index path value in the table view in iPhone?

http://stackoverflow.com/questions/4815770/how-to-preserve-the-index-path-value-in-the-table-view-in-iphone

newCell.accessoryType UITableViewCellAccessoryCheckmark UITableViewCell oldCell tableView cellForRowAtIndexPath checkedData oldCell.accessoryType UITableViewCellAccessoryNone checkedData indexPath if newRow oldRow UITableViewCell cell tableView.. oldCell tableView cellForRowAtIndexPath checkedData oldCell.accessoryType UITableViewCellAccessoryNone checkedData indexPath if newRow oldRow UITableViewCell cell tableView cellForRowAtIndexPath indexPath if cell.accessoryType UITableViewCellAccessoryNone.. cell.accessoryType UITableViewCellAccessoryCheckmark else cell.accessoryType UITableViewCellAccessoryNone checkedData indexPath When back to the table view class the previous state should be preserved. so how can i access that UITableViewCell..