• 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
Save panel directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Save panel directory


  • Subject: Save panel directory
  • From: Robert Clair <email@hidden>
  • Date: Thu, 22 May 2003 14:38:00 -0400

I would like the save panel's directory in my application to
start in a default location (not the top of the file system
as it currently does) during a "Save As" and then remember the last directory it used for this.

I've checked the archives and many pounds of Cocoa books,
but if it was covered somewhere I missed it.

Is there any easier way than storing the directory in the defaults and
using the document's

prepareSavePanel

to set the directory from the defaults and then using

saveToFile:saveOperation:delegate:didSaveSelector:contextInfo:

to get the directory actually chosen and write it to the defaults ?

Thanks in advance

Bob clair
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Save panel directory
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: me and my shadow
  • Next by Date: a Drawer's parent
  • Previous by thread: Re: Cocoa newbie question
  • Next by thread: Re: Save panel directory
  • Index(es):
    • Date
    • Thread