NSImageView change event handler
-
04-03-2021 - |
Frage
I'd like to catch event of image changing in my NSImageView, how can I do it?
Lösung
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).
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow