Correct, so my code looks like this so the user can check and uncheck cells:
-(void) tableView

UITableView *)tableView didSelectRowAtIndexPath

NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView cellForRowAtIndexPath:
indexPath];
if (cell.accessoryType == UITableViewCellAccessoryCheckmark) {
cell.accessoryType = UITableViewCellAccessoryNone;
}
else {
cell.accessoryType = UITableViewCellAccessoryCheckmark;
}
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}
Now I am trying to save that selection using NSUserDefaults so the cells stay checked/unchecked even if the app is exited.