Re: Building an MVC based App for Mac OS X - NOT for iOS
Re: Building an MVC based App for Mac OS X - NOT for iOS
- Subject: Re: Building an MVC based App for Mac OS X - NOT for iOS
- From: Uli Kusterer <email@hidden>
- Date: Wed, 29 May 2013 01:13:01 +0200
On 28.05.2013, at 19:01, YT <email@hidden> wrote:
> I did run a test and created a NEW Project and checked the box "Create a Document-based App"
> AND no Controller files (.h,.m) were automatically generated.
"Controller" is a pattern, not a class name. When you create a document-based app, it creates a document class for you. This owns an NSWindowController (by default). Usually you put all your controller-ish stuff in the document (which is a kind of controller), though you can also subclass NSWindowController and have it create one of those, which is done especially if a document can consist of several windows.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.masters-of-the-void.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden