Instance Method

tableView:objectValueForTableColumn:row:

Called by the table view to return the data object associated with the specified row and column.

Declaration

- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;

Parameters

aTableView

The table view that sent the message.

aTableColumn

A column in aTableView.

rowIndex

The row of the item in aTableColumn.

Return Value

An item in the data source in the specified table column of the view.

Discussion

tableView:objectValueForTableColumn:row: is called each time the table cell needs to be redisplayed, so it must be efficient.

See Also

Getting Values

- numberOfRowsInTableView:

Returns the number of records managed for aTableView by the data source object.