numberOfItems(in:)
Returns the number of items managed for the combo box cell by your data source object.
Declaration
optional func numberOfItems(in comboBoxCell: NSComboBoxCell) -> IntParameters
- comboBoxCell:
The combo box cell for which your data source manages items.
Return Value
The number of items your data source object manages.
Discussion
An NSComboBoxCell object uses this method to determine how many items it should display in its pop-up list.