Re: Cross-fading between layers

2012-10-24 Thread William Squires
I'm surprised it worked at all under any version of OS X, since you set the current layer to the new layer before committing the transition! Since it sees the two layers are the same, there's nothing to change, so nothing happens (I thinkā€¦) On Oct 18, 2012, at 10:50 AM, Gabriel Zachmann wrote:

Cross-fading between layers

2012-10-18 Thread Gabriel Zachmann
About a week ago I have posted about my problem with (not) cross-fading Core Animation layers in Mountain Lion. Perhaps, my post was too long ;-) Perhaps I forgot to mention that I did google quite bit, but didn't understand what the best solution would be in my case. So far, I am fading out

Re: Cross-fading between layers

2012-10-18 Thread Kyle Sluder
On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann z...@tu-clausthal.de wrote: So far, I am fading out an existing layer, and fading in a new layer by the following 5 lines of code: [CATransaction begin]; [CATransaction setAnimationDuration: fading_duration]; [mainLayer_

Re: Cross-fading between layers

2012-10-18 Thread Corbin Dunn
On Oct 18, 2012, at 9:53 AM, Kyle Sluder k...@ksluder.com wrote: On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann z...@tu-clausthal.de wrote: So far, I am fading out an existing layer, and fading in a new layer by the following 5 lines of code: [CATransaction begin]; [CATransaction