Re: NSTableView
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