• 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: Ryan Stevens <email@hidden>
  • Date: Thu, 4 Aug 2005 08:10:46 -0700

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?

_______________________________________________
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


  • Follow-Ups:
    • Accordion Data Effect
      • From: "Douglas A. Welton" <email@hidden>
References: 
 >NSTableView bottleneck (From: "A. Karl Keller" <email@hidden>)

  • Prev by Date: Forcing a scroll to the top of an NSScrollView
  • Next by Date: Computer Type
  • Previous by thread: Re: NSTableView bottleneck
  • Next by thread: Accordion Data Effect
  • Index(es):
    • Date
    • Thread