Re: Document-based application
Re: Document-based application
- Subject: Re: Document-based application
- From: "Mark Williams" <email@hidden>
- Date: Thu, 06 Oct 2005 15:03:37 -0400
- Bounce-to: "Mark Williams" <email@hidden>
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
Put that in your main controller I beleive, and then return NO
so :
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
return NO;
}
and that should fix you up
On 10/6/2005, "Eric PETIT" <email@hidden> wrote:
>I begin programming in Cocoa.
>I build a Cocoa Document-based application and I don't want that a
>document opens automatically with launching.
>What must I make ?
>Thanks
>
>E. PETIT
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden