On Sep 21, 2010, at 6:14 PM, Kenneth Baxter wrote:

> Just a quick question about this - I notice that you say to use a timer which 
> I presume you say deliberately rather than using the automatic needsDisplay 
> and recalculating during display.

The automatic -needsDisplayOnBoundsChange will cause you to draw only once, at 
the new bounds value, not for every frame in-between. If that is acceptable, 
then that should work too. If you would have just changed the frame/bounds to 
implement the animation, that is fine as well. Either way, the implementation 
should be relatively straightforward.
--
David Duncan

_______________________________________________

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