Instance Method

comboBoxCell:objectValueForItemAtIndex:

Returns the object that corresponds to the item at the given index in the combo box cell.

Declaration

- (id)comboBoxCell:(NSComboBoxCell *)comboBoxCell objectValueForItemAtIndex:(NSInteger)index;

Parameters

aComboBoxCell

The combo box cell for which to return the item.

index

The index of the item to return.

Return Value

The object corresponding to the item at the specified index in the given combo box cell.

Discussion

An NSComboBoxCell object uses this method to populate the items displayed in its pop-up list.

See Also