• 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: Seth Willits <email@hidden>
  • Date: Sun, 7 Nov 2010 14:20:25 -0800

On Nov 7, 2010, at 1:42 PM, Kyle Sluder wrote:

> It sounds like you're confusing transactions with animation groups.

To touch on this, I certainly don't believe I am.

The inner transaction code is all a self-contained atomic action. What I need to do is simply call the self-contained action, and when it's done, fire off another particular action. A CATransaction completion block sounds perfect for that to me. Paraphrasing: "At the end of any animations performed within this transaction, run the completion block." That's exactly what I want, and to me, nested transactions with animations should count. Whether they do or not is not clear. Using an animation group to try to achieve the same would be a lot more code and involve more entanglement between things.


--
Seth Willits



_______________________________________________

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>
References: 
 >CATransaction setCompletionBlock - Nested Transactions bug? (From: Seth Willits <email@hidden>)
 >Re: CATransaction setCompletionBlock - Nested Transactions bug? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Moving Properties to
  • Next by Date: Re: Ping host and port
  • Previous by thread: Re: CATransaction setCompletionBlock - Nested Transactions bug?
  • Next by thread: Re: CATransaction setCompletionBlock - Nested Transactions bug?
  • Index(es):
    • Date
    • Thread