Contents

NSComboBoxCell

The user interface of a combo box.

Declaration

class NSComboBoxCell

Overview

NSComboBoxCell is a subclass of NSTextFieldCell used to implement the user interface of “combo boxes” (see NSComboBox for information on how combo boxes look and work). The NSComboBox subclass of NSTextField uses a single NSComboBoxCell, and essentially all of the NSComboBox class’s methods simply invoke the corresponding NSComboBoxCell method.

Also see the NSComboBoxCellDataSource protocol, which declares the methods that an NSComboBoxCell object uses to access the contents of its data source object.

Topics

Setting Display Attributes

Accessing a Data Source

Working with an Internal List

Manipulating the Displayed List

Manipulating the Selection

Completing the Text Field

See Also

Cells