1

ALL,

In my application I need to use NSComboBox. The data the combo box will display needs to be sorted.

However looking at the Apple documentation I don't see the way to make the control to have a SORT style.

Can anybody familiar with the API point me to the right direction?

Thank you.

Igor
  • 5,620
  • 11
  • 51
  • 103

1 Answers1

0

NSComboBox is a view.

You need to create a model or part of model that will serve as datasource for it.

If you are using array(hardcoded or getting the array from server), you can sort the array and then use them.

Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140