Hello,
i am using NSOutlineView with custom NSCell, in the delegate function below, how do we get the index number, because i need to set different values of the cell for different row(like image and text), but here each time the item will be Nil, so how can i get the index number and how do i know which row i am returning the cell.
-(NSCell *)outlineView
NSOutlineView *)outlineview
dataCellForTableColumn
NSTableColumn *)tableColumn
item
id)item
and also my tableView is always nil. what can be the problem.
i am using NSOutlineView with custom NSCell, in the delegate function below, how do we get the index number, because i need to set different values of the cell for different row(like image and text), but here each time the item will be Nil, so how can i get the index number and how do i know which row i am returning the cell.
-(NSCell *)outlineView
dataCellForTableColumn
item
and also my tableView is always nil. what can be the problem.