I currently have a single NSDocument subclass, which is also a data source for 
two different tables. Because the two tables show different aspects of the data 
and the code gets a little cluttered up, I am thinking about implementing two 
separate data sources, one for each table, both fetching its data from the same 
data model. 

The only way I see right now, is keep the data model in the NSDocument 
subclass, and to connect both data sources to the File Owner, which is a Window 
Controller, and from there access the document. Is there a more direct way of 
achieving this?
---
Grinnikend door het leven...

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to