HELP How to open a default document at startup
HELP How to open a default document at startup
- Subject: HELP How to open a default document at startup
- From: "Mark's Studio" <email@hidden>
- Date: Fri, 7 Sep 2001 10:27:49 +0200
I want to open a default document the first time my app starts up,
how do i do it.
In my world of logic the App asks me if i want to open a untitledfile,
so i tell it to try and open the default file if not open a untitledfile.
But what method do i use to open the file?
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
{
if(openFile)
return NO;
else
return YES;
}
Thanks
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden