[basics] saving UntitledFile without panel
[basics] saving UntitledFile without panel
- Subject: [basics] saving UntitledFile without panel
- From: david kiers <email@hidden>
- Date: Sun, 9 Jan 2005 13:12:09 +0100
Hi list,
I'm trying to save a document (created by the NSApp after -(BOOL)applicationShouldOpenUntitledFile: returns YES) without getting the path from a Save panel. I set the filename and directory path with:
[self setFileName:@"/Users/dk/Desktop/vindme.cvw"];
But then:
[currentDocument saveDocument:self];
results in an alert saying that the location of the document cannot be determined.
Any idea on how to make this work?
Thanks, David _______________________________________________
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