NSDocument as controller vs. as model
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