1

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

Ilya Blokh
  • 11,923
  • 11
  • 52
  • 84

1 Answers1

2

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).

Jesse Rusak
  • 56,530
  • 12
  • 101
  • 102