I have a clear button in my Mac OS app.
When the button is pressed, it clears all the values of the form and resets the NSPopUpButton
to the first item.
The question is how do I change the NSPopUpButton
control with code.
Thanks
I have a clear button in my Mac OS app.
When the button is pressed, it clears all the values of the form and resets the NSPopUpButton
to the first item.
The question is how do I change the NSPopUpButton
control with code.
Thanks
You can call:
Objective C:
Swift:
See here for details.