Question

I'd like to catch event of image changing in my NSImageView, how can I do it?

Was it helpful?

Solution

You could try using KVO to monitor the image key. If that doesn't work, you'll probably have to subclass NSImageView and insert your logic into setImage: (and call super).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top