Skip navigation.
 
mlRe: CoreAnimation and Filters
FROM : Joachim Deelen
DATE : Thu May 29 22:12:42 2008

Hi Dimitri,

YES! That's the solution.

I always thought, that removing on completion just removes the 
Animation-Object from the Layer so its memory can be freed by the 
garbage-collector. That it has an effect on the animated value(s) 
seems a bit strange to me.

But it works! Thank you very much.

- Joachim


Am 29.05.2008 um 21:53 schrieb Dmitri Goutnik:

>
> On May 29, 2008, at 11:32 PM, Joachim Deelen wrote:
>

>> The Animation of the Filter is working fine. The ZoomBlur gets 
>> animated from 20.0 to 0.0 in 1.8 seconds. But as soon as the 
>> animation has finished, the Value for the filter instantly drops 
>> back to 20.0. I've tried different "fillModes" but to no avail. I 
>> just want to animate the Value "inputAmount" from 20.0 to 0.0 and 
>> make it stay at 0.0 after the animation has finished....
>>

>
>
> Joachim,
>
> Try to set
> zoomOutAnimation.removedOnCompletion = NO;
>
> - Dmitri
>

Related mailsAuthorDate
mlCoreAnimation and Filters Joachim Deelen May 29, 21:32
mlRe: CoreAnimation and Filters Dmitri Goutnik May 29, 21:53
mlRe: CoreAnimation and Filters Joachim Deelen May 29, 22:12