On Nov 8, 2010, at 8:26 AM, Matt Neuburg <m...@tidbits.com> wrote:

> On Sun, 7 Nov 2010 14:28:46 -0800, Kyle Sluder <kyle.slu...@gmail.com> said:
> 
>> But transactions aren't actions. I'd even argue that putting this 
>> convenience method on CATransaction might have been a mistake.
>> 
> 
> It's not merely a convenience. We live in an age of blocks; we want the 
> block-based approach to replace the old delegate-based approach. One is not 
> merely a convenient form of the other; they are fundamentally different 
> architectures. For true layer animation (as opposed to view animation) this 
> *is* the block-based approach. Apple did not give a CAAnimation a completion 
> block property, so you *have* to use CATransaction to get one. m.

As I mentioned before, we subclasses CAAnimationGroup to put the completion 
handler in the "right" (logically consistent) place.

--Kyle Sluder_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to