Re: Data Source object for NSTableView
Re: Data Source object for NSTableView
- Subject: Re: Data Source object for NSTableView
- From: Allan Odgaard <email@hidden>
- Date: Fri, 20 Feb 2004 08:16:55 +0100
On 20. Feb 2004, at 7:38, Jerry Krinock wrote:
I'm thinking of wiping out my Data Source object, and incorporating
all its
methods and data into the File Owner, my subclassed
NSWindowController. Is
that the correct way to do it? [...]
Yes, that is often the most convenient way to do it. The File Owner is
the controller, the controller is responsible for fetching data from
the model and giving it to the view, which is really what the data
source is all about (a protocol for this).
_______________________________________________
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.