NSUInteger index = indexPath.row; if ([_selection containsIndex: index]) [_selection removeIndex: index]; else [_selection addIndex: index];