Re: open folders as documents
Re: open folders as documents
- Subject: Re: open folders as documents
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 13 Jan 2009 05:11:01 -0500
On Tue, Jan 13, 2009 at 4:54 AM, Georg Seifert <email@hidden> wrote:
> I want to be able to select folders (with a certain extension, but no
> registered file type) in the open dialog of a NSDocument app.
Did you look at the documentation? -[NSOpenPanel
setCanChooseDirectories] looks like it would be a very logical place
to start. And then the -panel:shouldShowFilename: NSSavePanel
delegate method would make a whole lot of sense, since it's mentioned
in the "Filtering Out Browser Items" section of the "Application File
Management" document...
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/AppFileMgmt/Articles/FilteringOutBrowserItems.html
--Kyle Sluder
_______________________________________________
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