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:
On Oct 18, 2012, at 9:53 AM, Kyle Sluder wrote:
> On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann 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_
On Oct 18, 2012, at 8:50 AM, Gabriel Zachmann 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_ replaceSublayer: currentLayer_
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 an