• 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: CATransaction setCompletionBlock - Nested Transactions bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CATransaction setCompletionBlock - Nested Transactions bug?


  • Subject: Re: CATransaction setCompletionBlock - Nested Transactions bug?
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 8 Nov 2010 08:26:35 -0800

On Sun, 7 Nov 2010 14:28:46 -0800, Kyle Sluder <email@hidden> 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.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________

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

  • Follow-Ups:
    • Re: CATransaction setCompletionBlock - Nested Transactions bug?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: CAShapeLayer curved path animation
  • Next by Date: Re: Synchronizing iOS redraw
  • Previous by thread: Re: CATransaction setCompletionBlock - Nested Transactions bug?
  • Next by thread: Re: CATransaction setCompletionBlock - Nested Transactions bug?
  • Index(es):
    • Date
    • Thread