I create a bunch of NSviews programmatically. How can I set the function that is performend when the NSView is clicked?
For NSButton you can use button.addTarget. For NSView this doesn't exist however...
button.addTarget
Thanks!
1.4m articles
1.4m replys
5 comments
57.0k users