• 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: Scott Anguish <email@hidden>
  • Date: Fri, 20 Feb 2004 02:10:02 -0500

This is largely dependent on your app design. But..


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? If not, what object type should it be a
subclass of?



This is perfectly valid and correct way of doing it, and what I'd have recommended. Usually the data (model) is separate from the controller, but it doesn't have to be.
_______________________________________________
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: piped unzip (and this time it's not the wrong codesnipper)
  • Next by Date: Re: Loading nibs in plugins
  • Previous by thread: Data Source object for NSTableView
  • Next by thread: Re: Data Source object for NSTableView
  • Index(es):
    • Date
    • Thread