On Tue, Jan 13, 2009 at 4:54 AM, Georg Seifert <georg.seif...@gmx.de> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com