NSTableView Loading Question
NSTableView Loading Question
- Subject: NSTableView Loading Question
- From: Donald Klett <email@hidden>
- Date: Tue, 04 May 2010 09:45:48 -0400
I want to make sure I am on the right track regarding the NSTableView class.
In IB, I set the dataSource pointer to my object definition.
Assuming the initial content of the table view is available, the table view will
call the numberOfRowsInTableView method and since the return value is > 0, the
objectValueForTableColumn method will be called that number of times to populate the table.
If the inital content is nothing, then I assume one has to call the reloadData
method to cause the table to add entries as they become available.
But this seems inefficient, since a call to reloadData reloads the entire table.
Is there another route to take that I have not found?
If I am on the wrong track here, please let me know. Thanks.
Cheers, Don Klett
_______________________________________________
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