On 30/11/2009, at 12:04 PM, Jason Stephenson wrote:

> NSDocument and the document-based architecture in Cocoa is a bad example of 
> MVC.


As a statement that doesn't really stand up to scrutiny. Sure, you can abuse 
NSDocument and violate MVC, but as it comes it does not. A document might own 
(or be) the data model, and it might also keep a list of window controllers. 
How does that violate MVC? NSDocument is just 'M', and nothing more.

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to