• 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
NSDocument and default file names.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument and default file names.


  • Subject: NSDocument and default file names.
  • From: Godfrey van der Linden <email@hidden>
  • Date: Tue, 17 Jun 2008 17:36:58 +1000

G'day All,

I have been lurking on this list for a while. It is interesting to be on the other side, I used to hang around answering questions on the kernel lists oh well, even kernel developers can become indie development occasionally ;-)

When I create a new NSPersistentDocument, I recognise it is new and ask the user a series of questions to configure the software. From the questions I ask I can get a pretty good guess at what the basename of the new document will be, I just don't want to guess what the directory will be.

So here is my issue. How do I suggest to the persistent document that it should default the filename to the one I suggest and not use 'untitled'. If I was using NSSavePanel directly I'd just tell it what I wanted but the NSDocument is trying to be helpful! Is this just a case of not trying to program around the libraries?

Thanks in advance,

Godfrey van der Linden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • NSURLConnection didReceiveAuthenticationChallenge weirdness
      • From: "Paul E. Robichaux" <email@hidden>
    • Re: NSDocument and default file names.
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: How to disconnect bound views temporarily
  • Next by Date: Re: opening default email and browser from the code
  • Previous by thread: Re: How does an instance variable in the ObjC code get connected to an interface element in the NIB file? BACK ON TRACK
  • Next by thread: Re: NSDocument and default file names.
  • Index(es):
    • Date
    • Thread