CheckBox in tableview
问题 I am facing trouble in putting check boxes into a UITableView. I am posting a part of my code here. - (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { NSButtonCell *cell=[[NSButtonCell alloc] init]; NSString *strDisplayPlaylistName; strDisplayPlaylistName=[playListNameArray objectAtIndex:row]; [cell setTitle:strDisplayPlaylistName]; [cell setAllowsMixedState:YES]; [cell setButtonType:NSSwitchButton]; return cell; } - (void