Re: first document based application
Re: first document based application
- Subject: Re: first document based application
- From: Eric Blom <email@hidden>
- Date: Wed, 2 Apr 2003 21:51:23 -0800
Greg,
I'm pretty sure you need to add the following to your controller.
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
return NO;
}
Cheers,
Eric
On Wednesday, April 2, 2003, at 06:53 PM, Greg Hamilton wrote:
>
Hi,
>
>
I'm writing my first document based application. I've used Project
>
Builder to create a new 'Cocoa Document-based application'.
>
>
It's a simple viewer for a particular document format and it basically
>
works but, because it's just a viewer I don't want the application to
>
automatically create a new empty document when it starts. I can't work
>
out how to stop this happening.
>
>
Greg Hamilton
_______________________________________________
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.