FROM : Christoph Vogelbusch
DATE : Wed Nov 21 22:05:59 2007
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];
>
>
DATE : Wed Nov 21 22:05:59 2007
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];
>
>
| Related mails | Author | Date |
|---|---|---|
| Christoph Vogelbus… | Nov 21, 14:25 | |
| Nick Zitzmann | Nov 21, 16:29 | |
| Scott Anguish | Nov 21, 21:10 | |
| Christoph Vogelbus… | Nov 21, 22:05 | |
| Scott Anguish | Nov 21, 23:17 | |
| haller | Nov 22, 12:11 | |
| Scott Anguish | Nov 22, 22:28 | |
| haller | Nov 23, 09:27 | |
| Scott Anguish | Nov 23, 10:37 | |
| haller | Nov 23, 17:05 |






Cocoa mail archive

