Instance Property

numberOfItems

The total number of items in the pop-up list.

Declaration

@property(readonly) NSInteger numberOfItems;

See Also

Working with an Internal List

- addItemsWithObjectValues:

Adds multiple objects to the internal item list.

- addItemWithObjectValue:

Adds the specified object to the internal item list.

- insertItemWithObjectValue:atIndex:

Inserts an object at the specified location in the internal item list.

objectValues

The combo box’s internal item list in an array.

- removeAllItems

Removes all items from the combo box’s internal item list.

- removeItemAtIndex:

Removes the object at the specified location from the combo box’s internal item list.

- removeItemWithObjectValue:

Removes all occurrences of the specified object from the combo box’s internal item list.