• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: NSTableView
  • Next by Date: Re: NSPropertyListSerialization
  • Previous by thread: Re: NSTableView
  • Next by thread: NSWindowController usage question
  • Index(es):
    • Date
    • Thread