Re: NSTableView bottleneck
Re: NSTableView bottleneck
- Subject: Re: NSTableView bottleneck
- From: Jerry Krinock <email@hidden>
- Date: Thu, 04 Aug 2005 05:29:21 -0700
on 05/08/04 02:19, A. Karl Keller at email@hidden wrote:
> I've got an NSTableView bottleneck. Many rows of the table can be
> seen at once, and I need to keep one NSCell of the table synced to a
> user editable NSTextView. If I call reloadData after each
> keystroke, its lags behind the user. Does anyone have a subclass or
> category for NSTableView that allows a single NSCell to be reloaded?
NSOutlineView has a reloadItem: method. By adding a few methods to your
data source, it could support an NSOutlineView, which you could make look
like a table if all items were children of the root, and had 0 children.
But you might end up with a small space prefixing each item, a placeholder
for the disclosure triangle, which would never appear because your data
source would return 0 children for all items.
You might also want to re-think your design, remembering that if something
is too hard to do, maybe you shouldn't be doing it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden