Re: Can NSView and NSImageView respond to Mouse Clicks?


Alex Zavatone
 

You can add a gesture to it IIRC.

On Sep 19, 2018, at 1:34 PM, Dave <dave@looktowindward.com> wrote:

Hi,

Can an Custom NSView respond to Mouse Clicks via IBActions?

Can the same be done with NSImageView? I’ve added an image view and connected it to an IBAction method define in my View Controller, but when I click the NSImageView nothing happens…..

Any help greatly appreciated.

All the Best
Dave

Join cocoa@apple-dev.groups.io to automatically receive all group messages.