• 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
Re: Setting the default folder in saveDocumentAs (NSDocument)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the default folder in saveDocumentAs (NSDocument)


  • Subject: Re: Setting the default folder in saveDocumentAs (NSDocument)
  • From: Conrad Shultz <email@hidden>
  • Date: Thu, 23 Sep 2010 15:49:40 -0700

If I understand what you're asking, I think you want NSSavePanel's

-(void)setDirectoryURL:(NSURL*)url

From the docs:
"Sets the directory shown in the panel to the directory with the specified URL."

-Conrad

On Sep 21, 2010, at 2:17, Thorsten Lemke <email@hidden> wrote:

> Hello,
>
> How can I set the default folder for the saveDocumentAs handler?
_______________________________________________

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

References: 
 >Setting the default folder in saveDocumentAs (NSDocument) (From: Thorsten Lemke <email@hidden>)

  • Prev by Date: Better Question Formulation
  • Next by Date: Re: Better Question Formulation
  • Previous by thread: Setting the default folder in saveDocumentAs (NSDocument)
  • Next by thread: How add app in startup item (global login item)?
  • Index(es):
    • Date
    • Thread