0

I working with NSxxx kind of controls. It is OS X project.

I expect to see the drop-down control "Event" between the fields "Name" and "Type", with the list of the control library events.

enter image description here

Why I can not see it?

Ruben Kazumov
  • 3,803
  • 2
  • 26
  • 39

1 Answers1

1

Most NSControl subclassed objects are simple enough that you just respond to an @IBAction, and that is the "event." For more complex controls you can create outlets to a delegate and sometimes to a datasource as well (e.g. NSTableView).

Your question indicates you're using an NSSlider, and that is perhaps best dealt with using bindings in Xcode, not IBActions.

Aarhus88
  • 163
  • 5