• 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
NSDocument as controller vs. as model
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument as controller vs. as model


  • Subject: NSDocument as controller vs. as model
  • From: Brian Hook <email@hidden>
  • Date: Sun, 30 Sep 2001 23:48:11 -0700

I've seen a couple different examples of a document based application under Cocoa. In some examples I see "NSDocument is the model", whereas in other examples I NSDocument as a controller to the model (model vs. model-controller").

Is this just a stylistic thing or is one way "more correct than the other"?

Thanks,

Brian


  • Prev by Date: Re: Does cocoa just leak?
  • Next by Date: Standard "File Open" dialog
  • Previous by thread: Re: NSScrollView and general IB annoyance
  • Next by thread: Standard "File Open" dialog
  • Index(es):
    • Date
    • Thread