NSComboBox is a kind of control that allows you to enter text directly (as you would with an
NSTextField) or click the attached arrow at the right of the combo box and select from a displayed (“pop-up”) list of items.
- macOS 10.10+
Normally an instance of
NSComboBox looks like this:
When you click the downward-pointing arrow at the right side of the text field, the pop-up list appears, like this:
NSComboBox class uses
NSComboBoxCell to implement its user interface.
Also see the NSComboBoxDataSource informal protocol, which declares the methods that an
NSComboBox uses to access the contents of its data source object.