After bit of research, I was able to populate the NSTableView with some date via the "identifier way" like you assign unique identifier to each column. However, I would like to now if there is a way to populate NSTableView without providing the identifier to the columns and how?
To be more clear - the use of automatic table column identifier, which is slightly described here: About the automatic table column identifier and and I find a way how to enumerate or get the index of the column by this expression:
//in the objectValueForTableColumn blah blah blah method
int columnIndex = [[aTableColumn identifier] intValue];
return [[myArray objectAtIndex: rowIndex] objectAtIndex: columnIndex];
However, the thing is that the columnIndex is equal to 0 in each column. (I have for example 4 columns in NSTableView)
Can you please help me how to display the data without setting the identifier? Thank you very much!