Well, I have found it to be even more weird. On Leopard, the Core Animation animation sometimes can run simultaneously with the blocking NSAnimation. In fact, I have done something to my app, don't know what, and now CA runs in parallel with the blocking NSAnimation causing the latter to jitter. I wonder how I revert my app to the previous state? :(
I have created a brand new test app and I've found that one can make CA run in parallel with the blocking NSAnimation by doing one of the following: 1) setting duration of implicit animations using [CATransaction setValue:[NSNumber numberWithFloat:xxx] forKey:kCATransactionAnimationDuration]; 2) creating another view with wantscoreanimation = yes that is nested in or overlaps the view animated by the blocking animation How can this be explained? Because I'd like to take control over this idiosyncrasy. Thanks On Fri, Oct 2, 2009 at 8:47 AM, Scott Anguish <[email protected]> wrote: > > On Sep 28, 2009, at 3:12 AM, Kyle Sluder wrote: > >>> Do you mean I should avoid using blocking animations and only use >>> non-blocking? Never tried to use animator proxies, only NSAnimation >>> directly, so I don't know if the proxies are blocking or non-blocking. >> >> The animator proxies are related to Core Animation, not NSAnimation. > > Well, sort of related to Core Animation. Not at all related to NSAnimation > though. > > They use the same timing class, and some of the same ideas. But you don’t > have to have layer-backing on to use the vast majority of types you can > animate with proxies (with SL that may be entirely a thing of the past since > integer and NSColor can both be animated directly now) > > Transitions as I recall being an exception. > > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
