• 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: Cocoa Document-Based Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Document-Based Applications


  • Subject: Re: Cocoa Document-Based Applications
  • From: "Erik M. Buck" <email@hidden>
  • Date: Mon, 20 May 2002 20:31:31 -0500
  • Organization: EMB & Assocites Inc.

The code that is doing it is inside NSDocumentController.

You can stop it by implementing -applicationShouldOpenUntitledFile: to
return NO in your application's delegate, but remember that this behavior is
the official recommended behavior from Apple.

This is a FAQ and a short search of archives would have answered it.

----- Original Message -----
From: "Morgan Grainger" <email@hidden>
To: <email@hidden>
Sent: Monday, May 20, 2002 6:46 PM
Subject: Cocoa Document-Based Applications


> Hello all,
>
> When I go to create a new Cocoa document-based application, Project
> Builder automatically creates all the files, which is great. But when I
> build and run the new project, Project Builder creates a new window. It
> also does this when I click on the application icon in the dock and no
> other windows are open in the application. Where is the code where it
> is doing this and how do I stop it?
>
> Sincerely,
> Morgan Grainger
> --
> Morgan Grainger
> http://www.morgangrainger.com
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Cocoa Document-Based Applications (From: Morgan Grainger <email@hidden>)

  • Prev by Date: Font panel over modal dialog
  • Next by Date: Getting 'mouseMoved' events
  • Previous by thread: Re: Cocoa Document-Based Applications
  • Next by thread: Re: cocoa-dev digest, Vol 2 #665 - 14 msgs
  • Index(es):
    • Date
    • Thread