Re: CoreAnimation and Filters
Re: CoreAnimation and Filters
- Subject: Re: CoreAnimation and Filters
- From: Joachim Deelen <email@hidden>
- Date: Thu, 29 May 2008 22:12:42 +0200
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden