Re: Cocoa Document-Based Applications
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.