• 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: Data Source object for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Data Source object for NSTableView (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Drag and Drop: Cocoa window in Carbon app...
  • Next by Date: iDiskMenu source code and question
  • Previous by thread: Re: Data Source object for NSTableView
  • Next by thread: Re: Data Source object for NSTableView
  • Index(es):
    • Date
    • Thread