Re: NSTableView bottleneck
Re: NSTableView bottleneck
- Subject: Re: NSTableView bottleneck
- From: "A. Karl Keller" <email@hidden>
- Date: Thu, 4 Aug 2005 19:12:40 -0500
Thanks, Ryan. It just works.
Karl
On 8/4/05, Ryan Stevens <email@hidden> wrote:
> Karl,
>
> To update an entire row....
>
> NSRect rowRect = [yourTable rectOfRow:rowNeedingReloaded];
>
> [yourTable setNeedsDisplayInRect:rowRect];
>
> Or if you want a specific row in a specific column only..
>
> NSRect rowRect = [yourTable rectOfRow:rowNeedingReloaded];
> NSRect colRect = [yourTable rectOfColumn:aTableColumn];
>
> [yourTable setNeedsDisplayInRect:NSIntersectionRect(rowRect,
colRect)];
>
> On Aug 4, 2005, at 2:19 AM, A. Karl Keller 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?
> >
>
--
http://karlk.net
--
http://karlk.net
_______________________________________________
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