numberOfItems(in:)
Returns the number of items that the data source manages for the combo box.
Declaration
@MainActor optional func numberOfItems(in comboBox: NSComboBox) -> IntParameters
- comboBox:
The combo box.
Return Value
The number of items that the data source object manages for the specified combo box.
Discussion
An NSComboBox object uses this method to determine how many items it should display in its pop-up list.