On Sun, Dec 21, 2008 at 11:49 AM, Scott Ribe <[email protected]> wrote: > I guess what Mike is proposing is that redrawing in response to > setNeedsDisplay is only deferred until the end of handling the current > event? (And therefore only improves things when there are multiple calls on > the same view.) This is at least consistent with the documentation, as far > as I know. But I had assumed that somewhere the system was putting more of > an effort into deciding when to redraw marked views. And my assumption, as > far as I can tell, was also consistent with the available documentation.
That is indeed what I'm proposing. In other words, you'll always have this: event: invalidate view view: redraw event: invalidate view view: redraw And never this: event: invalidate view event: invalidate view view: redraw This is how I believe it works based on my knowledge of the frameworks and my experience. As to whether it matches up with reality, I would not go so far as to make any claims there.... Mike _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
