• 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: Document based architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document based architecture


  • Subject: Re: Document based architecture
  • From: Roland King <email@hidden>
  • Date: Mon, 09 Mar 2015 15:53:19 +0800

> On 9 Mar 2015, at 15:38, Patrick J. Collins <email@hidden> wrote:
>
> Hi everyone,
>
> It was recently suggested to me that my app should be a document based
> architecture design since I want File -> Open -> <select file> to bring up a new
> "document" window.  Googling this topic has been a bit frustrating...  I
> see lots of references in apple's documentation saying things like "The
> Xcode development application provides project templates for
> document-based applications."  Which I cannot find anywhere in XCode...
>
> Can anyone please shed some light on where I can get real-world instructions
> on how to setup this sort of design?
>
> Thanks.
>

File->New->Project

Select Application -> Cocoa Application

On the following sheets is a checkbox for 'create document-based application'. Check that.

That's the easiest way to start, although it's also not very hard to add document capabilities to a standard cocoa GUI app if you want (and looking at the generated code from the template shows you pretty much what you have to do).


_______________________________________________

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


  • Follow-Ups:
    • Re: Document based architecture
      • From: Bavarious <email@hidden>
References: 
 >Document based architecture (From: "Patrick J. Collins" <email@hidden>)

  • Prev by Date: Document based architecture
  • Next by Date: Re: Document based architecture
  • Previous by thread: Document based architecture
  • Next by thread: Re: Document based architecture
  • Index(es):
    • Date
    • Thread