On Wed, 4 Jul 2012 14:54:54 -0500, Charles Srstka said: >> Umm, why not just use the documented technique? > >Because that’s exactly what this is? > >http://developer.apple.com/library/mac/#documentation/general/Reference/ >InfoPlistKeyReference/Articles/CoreFoundationKeys.html%23//apple_ref/doc/ >uid/20001431-101705 > >> setAllowedFileTypes: "A nil value indicates that all files should be >enabled.” > >Maybe because he’s using Cocoa’s built-in document support instead of >manipulating the NSOpenPanel directly?
Ah, I missed the NSDocument bit, though the OP did ask: "Is there a way to let Powerbox (??) let the user select any file?" CFBundleTypeExtensions is deprecated though. Probably using kUTTypeData aka public.data is more appropriate. -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com