Re: NSTableView performance on Jaguar
Re: NSTableView performance on Jaguar
- Subject: Re: NSTableView performance on Jaguar
- From: Shawn Erickson <email@hidden>
- Date: Mon, 3 Nov 2003 11:20:17 -0800
On Nov 3, 2003, at 10:24 AM, Mikey wrote:
I think I remember seeing some information that Panther is better
about cropping updates so that they don't force unrelated graphic
elements to be redrawn. In other words, if you change something at
the top of the window, and something at the bottom of the window, and
then call the window's [... displayIfNeeded] method:
FYI - you should not need to call displayIfNeeded yourself but instead
setNeedsDisplay: or better yet setNeedsDisplayInRect:.
- In Jaguar, you actually update the rectangle bounded by the two
items that were updated. This could include other things like your
NSTableView.
- In Panther, you only update the things that changed.
Read the release notes for Cocoa for more information about this.
http://developer.apple.com/documentation/ReleaseNotes/Cocoa/AppKit.html
Search the release notes for the NSView and NSTableView sections.
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.