I have Cocoa application, with a code, partially hidden in a framework. I need to press NSButton programmatically.
When I use [myNSButton performClick:self]
, it behave differently, that when I press button physically. So I decide to find method, that linked to that NSButton.
Looks like trick with [UIButton allTargets]
is working only for iOS, but not for NSButton on macOS.
Do you have ideas, how to find method, that linked to NSButton ?