On Aug 25, 2011, at 17:42 , Graham Cox wrote:

> This is no more complicated than having two timers, and will likely be easier 
> to manage - I've found that adding too many timers to a run loop can end up 
> hitting performance, but even if it doesn't, it just seems wrong when one 
> will do.

Hmm. I think I disagree on this point. Two timers makes it very clear what's 
going on in the code, and I don't have to worry about the math. Moreover, I 
don't enable a rapid timer until it's actually needed.

In any case, I did it with two timers, and it all seems to work well. The first 
timer only exists until it fires (or is invalidated because the user left the 
autoscroll area before it fired).

-- 
Rick

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to