• 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: Core Animation and Run Loops
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Animation and Run Loops


  • Subject: Re: Core Animation and Run Loops
  • From: Shlok Datye <email@hidden>
  • Date: Sun, 27 Sep 2009 19:56:17 +0200

Take a look at this movie, which was taken on Leopard: http://shlok.s3.amazonaws.com/20090927-ca-problem.mov
The blue rectangle is a layer-backed NSView that is animated using Core Animation. The problem is that the animation halts while the main loop waits for the mouse to get released.


For your information, this was a bug that has been fixed in Snow Leopard. I'm therefore curious: Have you tried running a blocking NSAnimation along with a CA-animation in Snow Leopard?

Shlok Datye
Coding Turtle
http://codingturtle.com


Hi,

Today I read this in wikipedia: (http://en.wikipedia.org/wiki/Core_Animation )

"Animated sequences execute in a thread independent from the main run
loop, allowing application processing to occur while the animation is
in progress."

However, in my experience, Core Animation animations do not run while
the main thread is blocked. For example, when the main thread is
running a usual blocking NSAnimation, the CA-animation is frozen and
resumed only when the NSAnimation ends.

Could someone clarify on this, please?


_______________________________________________

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: Core Animation and Run Loops
      • From: Oleg Krupnov <email@hidden>
References: 
 >Core Animation and Run Loops (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: Xcode3.2 build and analyze warning for NSString allocation
  • Next by Date: Re: redrawing a particular subview in non mainWindows.
  • Previous by thread: Core Animation and Run Loops
  • Next by thread: Re: Core Animation and Run Loops
  • Index(es):
    • Date
    • Thread