Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using NSSavePanel for directories (not files)



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.