• 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: replacing NSViewAnimation with CoreAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacing NSViewAnimation with CoreAnimation


  • Subject: Re: replacing NSViewAnimation with CoreAnimation
  • From: Christoph Vogelbusch <email@hidden>
  • Date: Wed, 21 Nov 2007 22:05:59 +0100

Well the problem/question is:
Is NSViewAnimation SLOWER then CoreAnimation (because it uses no layers).
If so I would use NSViewAnimation for Tiger and CoreAnimation for Leopard.
But there is no reason why Apple didn't rewrite some of the NSViewAnimation code for Leopard. I'm technically it's teh same thing I'm doing here. Intercepting ViewAnimations put them in a animation context and fire them together.


SO the Question is: Is NSViewAnimation under Leopard as fast as CoreAnimation (and uses layers) or not?

All the best
   Christoph

Am 21.11.2007 um 21:10 schrieb Scott Anguish:


On Nov 21, 2007, at 8:25 AM, Christoph Vogelbusch wrote:

Hi,

I just wonder did Apple replace NSViewAnimation internaly with CoreAnimation or
should I detect Leopard and use CoreAnimation instead of NSViewAnimation under Leopard?



If you're NSViewAnimation works, and you want to continue to target Tiger as well as Leopard, I don't see why you'd want to change to the new Animation Proxy api. It's just going to add to your code support.


Mind you, if you're writing something new and only targeting Leopard you can't beat just doing

[[myView animator] setFrame:newRect];



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: replacing NSViewAnimation with CoreAnimation
      • From: Scott Anguish <email@hidden>
References: 
 >replacing NSViewAnimation with CoreAnimation (From: Christoph Vogelbusch <email@hidden>)
 >Re: replacing NSViewAnimation with CoreAnimation (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: CoverFlow
  • Next by Date: Retain Cycles in Core Data
  • Previous by thread: Re: replacing NSViewAnimation with CoreAnimation
  • Next by thread: Re: replacing NSViewAnimation with CoreAnimation
  • Index(es):
    • Date
    • Thread