• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: View animator, how to do explicit animations / animation groups?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >View animator, how to do explicit animations / animation groups? (From: Thomas Engelmeier <email@hidden>)
 >Re: View animator, how to do explicit animations / animation groups? (From: Matt Long <email@hidden>)

  • Prev by Date: Linker error: symbol(s) not found
  • Next by Date: Re: Linker error: symbol(s) not found
  • Previous by thread: Re: View animator, how to do explicit animations / animation groups?
  • Next by thread: Binding custom views to model arrays (or trees)
  • Index(es):
    • Date
    • Thread