• 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
using NSSavePanel for directories (not files)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using NSSavePanel for directories (not files)


  • Subject: using NSSavePanel for directories (not files)
  • From: Eric Friedman <email@hidden>
  • Date: Thu, 5 May 2005 13:15:38 -0700

My application has an "export" function that can produce a
representation of the current NSDocument in non-native, read-only
format.  One of the formats in question needs data written out in
*two* files.  So, I'd like the user to be able to choose (or create
and choose) a directory in NSSavePanel.  I will then create the two
files in that directory using canonical filenames.

Can NSSavePanel be made to work in this way?  What type extension
would I use to make it only accept directories?

Note that my export format is not a bundle -- users will need to
access the two files in the directory independently after export.

Thanks,
Eric
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: using NSSavePanel for directories (not files)
      • From: <email@hidden>
  • Prev by Date: Re: Obtaining a reference to an entity's context's owner
  • Next by Date: Re: [NSConnection release] anxiety
  • Previous by thread: WWDC Room mate needed
  • Next by thread: Re: using NSSavePanel for directories (not files)
  • Index(es):
    • Date
    • Thread