0

I am new to OS X. I am trying to implement a drop down using the NSComboBox. I need to customize that, for this, I found NSComboBoxCell component in the storyboard. But did not find the implementation steps for this.

I need to open a drop down list with a label and check box button when the drop down expand.

Can anyone tell me how can we customize the NSComboBoxCell in OS X.

I want to customize the drop down list.

Any help will be appreciated.

Thanks

Dev
  • 21
  • 5
  • 2
    Possible duplicate of [Any example about custom NSComboBox?](https://stackoverflow.com/questions/21361766/any-example-about-custom-nscombobox) – chirag90 Aug 30 '17 at 07:44
  • draw methods are not implementing custom drop down options, I have tried this link. – Dev Aug 30 '17 at 08:36
  • Don't use `NSComboBox`, Use `NSTextField` and a button which shows a window or popover. – Willeke Aug 31 '17 at 10:54
  • Yes, I have created a custom view acc. to requirements. But I am curious how can we implement NSComboBoxCell in OS X projects. What is the use of it? – Dev Aug 31 '17 at 11:14
  • You can use `NSComboBoxCell` in controls where you can replace the cells but these controls are being deprecated. – Willeke Aug 31 '17 at 12:27
  • but developer.apple is showing that it is implemented in mac OS 10.1 . https://developer.apple.com/documentation/appkit/nstextfieldcell – Dev Sep 01 '17 at 03:59
  • macOS 10.0 is OS X 10.0 and this is a long time ago. – Willeke Sep 02 '17 at 10:42

0 Answers0