Multiple dataSource's for NSTableView?
Multiple dataSource's for NSTableView?
- Subject: Multiple dataSource's for NSTableView?
- From: Chuck Soper <email@hidden>
- Date: Tue, 8 Jun 2004 15:43:07 -0700
Hello,
I have an NSTableView and 1 to N arrays of dictionaries. The table
will only display one array of dictionaries at a given time. The user
can change which array is being displayed by using selecting a menu
(an NSPopUpButton instance).
To change the array that the table is displaying which of the
following is recommended:
1. Reload data and make sure that the NSTableDataSource protocol
methods access the correct array.
2. Create an object that conforms to the NSTableDataSource protocol
for each array and change the dataSource of the table when I need to
display a new table.
3. Something else?
Thanks,
Chuck
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.