• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView


  • Subject: Re: NSTableView
  • From: Andy Lee <email@hidden>
  • Date: Wed, 14 Jan 2009 13:30:45 -0500

On Jan 14, 2009, at 1:06 PM, Andy Lee wrote:
I forget if you said whether you're using bindings or a data source. If you're using a data source, how about posting your code for numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:? The docs for these two methods say they need to be very efficient.

I found your earlier post. It sounds like you already know tableView:objectValueForTableColumn:row: is slow. *Why* is it slow? Is it making some kind of network or database call? If your table only has 30 rows or so, why not cache the objects in an NSArray? Again, posting code might help.


--Andy

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTableView
      • From: David Blanton <email@hidden>
References: 
 >NSTableView (From: David Blanton <email@hidden>)
 >Re: NSTableView (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: KVC error from bound SortDescriptor
  • Next by Date: Debugging objc_msg errors
  • Previous by thread: Re: NSTableView
  • Next by thread: Re: NSTableView
  • Index(es):
    • Date
    • Thread