Instance Method

itemObjectValueAtIndex:

Returns the object located at the specified location in the internal item list.

Declaration

- (id)itemObjectValueAtIndex:(NSInteger)index;

Parameters

index

The index of the object to return. If index is beyond the end of the list, an NSRangeException is raised.

Return Value

The object at the given location in the combo box's internal item list.

Discussion

This method logs a warning if usesDataSource is YES.

See Also

Manipulating the Displayed List

- indexOfItemWithObjectValue:

Searches the combo box’s internal item list for the given object and returns the matching index number.

- noteNumberOfItemsChanged

Informs the combo box that the number of items in its data source has changed.

- reloadData

Marks the combo box as needing redisplay, so that it will reload the data for visible pop-up items and draw the new values.

- scrollItemAtIndexToTop:

Scrolls the combo box’s pop-up list vertically so that the item at the given index is as close to the top as possible.

- scrollItemAtIndexToVisible:

Scrolls the combo box’s pop-up list vertically so that the item at the given index is visible.