• 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: CALayer Transitions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CALayer Transitions


  • Subject: Re: CALayer Transitions
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 16 Nov 2009 11:07:59 -0800

On Mon, Nov 16, 2009 at 11:01 AM, Matt Neuburg <email@hidden> wrote:
> Nothing here "runs contrary to the documentation." We're now talking apples
> and oranges. The "key" used in addAnimation:forKey: (such as kCATransition)
> has nothing whatever to do with the "key" that arrives in
> actionForLayer:forKey:. They both happen to be called "key" but that's all.
> The former, as I explained in my previous message, is just an arbitrary
> name, which is used just in case you need to call removeAnimationForKey:
> later, and for no other purpose. The latter is the name of a CALayer
> animatable property; that property is changing, and you are now being asked
> whether to animate that property.

You have it backwards.  kCATransition is documented to be sent as the
action identifier to -actionForLayer:forKey: whenever the sublayer
tree changes.  Instead, CA is only sending @"sublayers".  This is
incorrect.

--Kyle Sluder
_______________________________________________

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: 
 >Re: CALayer Transitions (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: CALayer Transitions
  • Next by Date: Re: NSUndoManager and runModalForWindow: (again)
  • Previous by thread: Re: CALayer Transitions
  • Next by thread: Re: CALayer Transitions
  • Index(es):
    • Date
    • Thread