• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView bottleneck
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Helper Tool Include Foundation Framework
  • Next by Date: TextThingys
  • Previous by thread: Accordion Data Effect
  • Next by thread: How can they know?
  • Index(es):
    • Date
    • Thread