Re: NSTableView
Re: NSTableView
- Subject: Re: NSTableView
- From: Scott Stevenson <email@hidden>
- Date: Fri, 15 Oct 2004 02:49:51 -0700
On Oct 14, 2004, at 6:24 AM, carsten Schäfer wrote:
for me there is a little confusion about implementing the NSTableView.
It is easy to set up the NSTableViews data source and delegate, but
where does this object (in my code it is one object for both
delegate/data source) belongs to: model or controller?
Your controller is the one that implements the datasource methods.
The controller has arrays of various models objects, and the model
objects should be made up mostly of accessors methods ( -name, setName
).
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >NSTableView (From: carsten Schäfer <email@hidden>) |