Minimizing NSTableView redraws
Minimizing NSTableView redraws
- Subject: Minimizing NSTableView redraws
- From: email@hidden
- Date: Thu, 31 Oct 2013 10:01:22 -0700
I have an NSTableView with as many as 40 rows and 12 columns. Each row in my tableview represents one of my model objects. I use a detail view to edit objects that are displayed in the tableview. I have an NSTextView that is set to continuously update when a user modifies the NSAttributed string of my model object.
As my list of rows grows, text entry in my NSTextView crawls to a slow. I have profiled my code and it appears that "set to continuously update" marks the whole table view for update. On every keypress, the whole entire NSTableView is redrawn.
Is there any strategy to minimize this full redraw?
Patrick
_______________________________________________
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