I want to define a custom NSControl
(or NSView
), now the problem is how to add a Sent Action to it.
As shown in the image, here are one or more Sent Actions for a control in the Connections inspector, for a NSButton
, here's only one action, for a NSTableView
, here are two actions.
How can I add a new action for my custom control so that it too is listed here?
Thanks.