Re: Smooth scrolling in NSScrollView
Re: Smooth scrolling in NSScrollView
- Subject: Re: Smooth scrolling in NSScrollView
- From: Matt Neuburg <email@hidden>
- Date: Sat, 16 Oct 2010 20:01:04 -0700
- Thread-topic: Smooth scrolling in NSScrollView
On Sat, 16 Oct 2010 07:40:00 +1000, Gideon King <email@hidden> said:
>
>Interestingly, if I use the
>setLayerContentsRedrawPolicy:NSViewLayerContentsRedrawNever, it doesn't
>cause a redraw at all, but my animations still seem to work OK. The issue
>with that is that this option is a 10.6 only one, and the only time this
>particular code needs to be run is in 10.5. So from that, I would deduce
>that Apple found this redraw problem in 10.5 and allowed this workaround
>in 10.6.
>
>I think I'll just leave my investigations there for the moment (unless
>someone suggests a quick fix) - we only have 14% of our users (and
>decreasing) using 10.5, and we are going to be adding a number of
>features that will be 10.6+ only, so people will be encouraged to make
>the move. And with it the way it is, it still works on 10.5 - it's just
>faster the way we do it in 10.6.
There is a very good discussion of issues that slow scrolling in the 2nd
WWDC Core Animation talk. Of course some solutions may be used there that
you can't use on 10.5, so it's not entirely germane, but the debugging
technique using Instruments may be helpful to you. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
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