• 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
Directory to save file in NSSavePanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Directory to save file in NSSavePanel


  • Subject: Directory to save file in NSSavePanel
  • From: Nikhil Khandelwal <email@hidden>
  • Date: Wed, 17 Mar 2010 13:40:35 +0530
  • Acceptlanguage: en-US, en-IN
  • Thread-topic: Directory to save file in NSSavePanel

Hi,

I am using NSSavePanel in my application. I am using "runModal" on this to show the save panel. The default location it shows to save the file is "Desktop" which I want to change to "Document". I tried "runModalForDirectory" as well however it uses the given file path as save location always.
Basically I want NSSavePanel to use "Documents" as default save location and if user change the location while saving the file, next time NSSavePanel should shows the changed location to save the file.

Thanks in advance,
Nikhil

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
_______________________________________________

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

  • Prev by Date: Re: Cocoa Newbie Thread/Memory Problems
  • Next by Date: Invalidated object on close of managed document
  • Previous by thread: Re: NSImage and NSBitmapImageRep
  • Next by thread: Re: Directory to save file in NSSavePanel
  • Index(es):
    • Date
    • Thread