NSDocumentController Question
NSDocumentController Question
- Subject: NSDocumentController Question
- From: Mike Burns <email@hidden>
- Date: Fri, 25 May 2007 07:01:38 -0400
In my app I am trying to establish the following behavior (similar to
Pro Tools if you've ever used it):
- when the app is started, the first thing that comes up is a save
panel (user sets directory and name here)
- a series of folders are created at the selected path, and an empty
file (of the type saved by my NSDocument) is created there
- the document is opened with the title from above
I've got most of that done in my application delegates
applicationShouldOpenUntitledFile override, but I cant figure out how
to create a document/save it before my NSDocumentController has
actually created my document. (Default behavior is that the file
name is set only after the user has saved once, after the document
data has been written).
Is something like this possible?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden