• 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: Mix & Match?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mix & Match?


  • Subject: Re: Mix & Match?
  • From: Carlos Weber <email@hidden>
  • Date: Fri, 30 Nov 2001 17:24:58 -1000

On Wednesday, November 28, 2001, at 09:18 , email@hidden wrote:

With the help of a lot of folks on this and the Project Builder lists I have finally made some serious progress, prototyping my application in four parts. As parts everything seems to work fine. So it is now time to try and meld these parts into one, before I start replacing the test code with the real deal, but there is still something I don't quite understand concerning the document-based template and how to expand it.

< quite a lot of details... >

Another question: what if I did use NSDocument instead of NSObject for the last two controllers--would there be any down-side if NSObject would do the job? Any and all help and/or advice eagerly awaited. Thanks in advance.

Brian, a couple of comments: first, NSDocument and your subclasses of it seem to me to belong to the "model" part of the MVC architecture. When deciding what my "controller" is going to be I have usually chosen between NSObject (for simple stuff, or stuff not based on a document-centric model) and NSWindowController (for controllers in a document-ish context).

That said, your overall schema testifies to the hard work you have done to absorb the Cocoa paradigms, and it sounds pretty good to me. You've vented a lot of frustrations here and on other lists, but it seems as if you have really made some headway. Party on!


References: 
 >Mix & Match? (From: email@hidden)

  • Prev by Date: Automated user-interaction regression testing tools?
  • Next by Date: Re: Filename from ImageView/Image?
  • Previous by thread: Mix & Match?
  • Next by thread: Re: Mix & Match?
  • Index(es):
    • Date
    • Thread