Re: View animator, how to do explicit animations / animation groups?
Re: View animator, how to do explicit animations / animation groups?
- Subject: Re: View animator, how to do explicit animations / animation groups?
- From: Thomas Engelmeier <email@hidden>
- Date: Wed, 3 Sep 2008 22:46:54 +0200
Am 03.09.2008 um 17:06 schrieb Matt Long:
Are you trying to remove views or animations? Animations are removed
from a layer by default which can be overridden in the
removedOnCompletion property (in CAAnimation) in an explicit
animation.
I need some trigger to remove views when their "move out of sight"
view animation (not layer animation..) is done..
If you're trying to remove views, however, your code is wrong. You
need to find the view you want to remove and remove it from its
superview by calling -(void)removeFromSuperview.
The question is "how do I set up a explicit view animation (group) so
I get an (delegate) callback once the animation is done..
My second code snippet should set an NSDictionary for animation, but
that change still doesn't make it work...
Also, why do you need to remove the view if it's not visible any
longer?
The view is moved to an "active slot" in another view. Actually,
simultanous to the move out, a copy is animated to move in in another
view...
Regards,
Tom_E
_______________________________________________
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