• 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: 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

References: 
 >NSTableView bottleneck (From: "A. Karl Keller" <email@hidden>)

  • Prev by Date: iCal sync schema entities
  • Next by Date: Re: decoding arabic text broken
  • Previous by thread: NSTableView bottleneck
  • Next by thread: Re: NSTableView bottleneck
  • Index(es):
    • Date
    • Thread