Core Animation cross-dissolve between one string (or image) and another when changing bound value?
Posted
by
danwood
on Stack Overflow
See other posts from Stack Overflow
or by danwood
Published on 2010-07-07T22:14:42Z
Indexed on
2010/12/24
23:54 UTC
Read the original article
Hit count: 144
cocoa
|core-animation
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?)
© Stack Overflow or respective owner