1

I have an NSTextView and an NSImageView that is bound to a NSString and an NSImage in my code. I would like to have the displayed string and image cross-dissolve when I change the string and image in code. Any way to do this? Do I need to stop using bindings? (And if I do, is there any trick to getting the string and the image to cross-dissolve when I change the value, or do I have to do something weird like fade it out and fade a new one back in?)

danwood
  • 1,512
  • 1
  • 10
  • 27

1 Answers1

0

Neither of those classes offer any kind of transition by animator proxy.

Something similar has been asked for NSImageView alone, but I suppose it could be applied to an NSTextView as well. Essentially, add/remove to/from the superview via the animator proxy.

How can I animate a content switch in an NSImageView?

I don't believe Bindings would get along with this.

Community
  • 1
  • 1
Joshua Nozzi
  • 60,946
  • 14
  • 140
  • 135