• 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: How do I get CATransition to actually work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get CATransition to actually work?


  • Subject: Re: How do I get CATransition to actually work?
  • From: Scott Anguish <email@hidden>
  • Date: Sun, 28 Oct 2007 02:11:41 -0400


On Oct 27, 2007, at 11:44 PM, Nick Zitzmann wrote:


On Oct 27, 2007, at 5:51 PM, Scott Anguish wrote:

If you're in a straight CA environment the layer it can provide the state before and after by imaging it with the new value you've set the property to, and the original rendering..

Oh, so that's what it's for... I was hoping CATransition would work on traditional views, but I guess I'm going to have to stick to NSAnimation...

Well, it does when you're adding/removing views from the parent view. There are two keys you can use to add transitions that will be used then.



If your view/control only has a single thing in it you could set up the view as a layer-hosting view, transition your drawing code from drawRect: to one of the layer delegate methods, and leave all the mouse/event handling in the view.. you'd get the CA features like transitions and implicit and explicit animations.. _______________________________________________


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: 
 >How do I get CATransition to actually work? (From: Nick Zitzmann <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Scott Anguish <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Nick Zitzmann <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Scott Anguish <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Nick Zitzmann <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Scott Anguish <email@hidden>)
 >Re: How do I get CATransition to actually work? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: values for Z Position in Layers
  • Next by Date: Re: How to get the process Id of a process?
  • Previous by thread: Re: How do I get CATransition to actually work?
  • Next by thread: Re: How do I get CATransition to actually work?
  • Index(es):
    • Date
    • Thread