• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDocumentController Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: NSTreeController bound selection issue
  • Next by Date: Re: NSColor + Bindings
  • Previous by thread: Re: NSTreeController bound selection issue
  • Next by thread: binding crash when not inlined
  • Index(es):
    • Date
    • Thread