NSTableColumn identifier is "_NS:9"

148 views Asked by At

I'm trying to implement a NSTableView. I added some columns from xib, and on some of them i added a identifier. But when running the app, on -(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row all the columns identifier are "_NS:9".

Any help? Thank you.

1

There are 1 answers

1
Droppy On BEST ANSWER

Sounds to me like you aren't accessing the column identifier:

- (id)          tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn
                      row:(NSInteger)row
{
    NSLog(@"Column identifier is '%@'", tableColumn.identifier);
    //                                             ^^^^^^^^^^^
}