I have a NSTableView and I want to disable row selection.
NSTableView
The columns of the table view are bound to a NSArrayController and the content of
NSArrayController
While the previous answers work, this is another option which I prefer to use:
- (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(NSInteger)rowIndex { return NO; }