NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
- Subject: NSTableView philosophy question.. (MVC Pattern) where to put the dataSource delegate?
- From: email@hidden
- Date: Tue, 25 Jun 2002 11:13:37 -0500
I have a nice little doc app with a pretty decent MVC pattern I think..
I have a NSDocument sub-class to handle the document level stuff, a
NSWindowController to handle the UI interface,
and even a DocumentSettings type class for the data model (i.e. right
from the Vermont Recipes stuff!)
Anyway, I just added a table view and was wondering where is the
"appropriate" place to put the
NSTableView dataSource delegation methods?? My first inkling is the
appropriate NSWindowController sub-class
but I also was thinking maybe the NSDocument sub-class??
Just want to keep a clean paradigm here so was wondering what the "Best
Practices" method is for this pattern..
TIA!
-Steve
_______________________________________________
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.