• 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: Building an MVC based App for Mac OS X - NOT for iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Building an MVC based App for Mac OS X - NOT for iOS (From: YT <email@hidden>)
 >Re: Building an MVC based App for Mac OS X - NOT for iOS (From: Keary Suska <email@hidden>)
 >Re: Building an MVC based App for Mac OS X - NOT for iOS (From: Jens Alfke <email@hidden>)
 >Re: Building an MVC based App for Mac OS X - NOT for iOS (From: YT <email@hidden>)
 >Re: Building an MVC based App for Mac OS X - NOT for iOS (From: Jens Alfke <email@hidden>)
 >Re: Building an MVC based App for Mac OS X - NOT for iOS (From: YT <email@hidden>)

  • Prev by Date: Re: NSMatrix used as menu item's view appears wrong
  • Next by Date: Re: Building an MVC based App for Mac OS X - NOT for iOS
  • Previous by thread: Re: Building an MVC based App for Mac OS X - NOT for iOS
  • Next by thread: Re: Building an MVC based App for Mac OS X - NOT for iOS
  • Index(es):
    • Date
    • Thread