Reputation: 621
I have a problem... looking for similar method to sendActionsForControlEvents (from iOS UIControl) for NSControl?
Is there anything similar for Mac? I need to get an info about changing state of my custom switch.
Thanks!
Upvotes: 2
Views: 332
Reputation: 104082
Just supply an IBAction for your switch, and get the state of the switch from the sender parameter.
Upvotes: 1