With xCode 9, in a NSTableView, when I use objectValueForTableColumn I must have columns with a NSTableColumn to see my data. On the other hand, when I use viewForTableColumn I can have the button from IB NSTextFielCell. I do not understand why these two method does not work in the same way ?In the same order of idea, I can programm the return key with NSTextFielCell but not with NSTableColumn.In the end, in my program, I add columns according to the number of fields which I want to handle. That works with NSTableColumn but I cannot use the return key. And with NSTextFielCell I can use the return key but I cannot show my data in the added columns. The function NSTableCellView *cellView = [tableView makeViewWithIdentifier:tableColumn.identifier owner:self]; gives me an nil cell.I think that I make something bad but what ?Somebody would have an idea ?
4
0
2.0k