Re: opening file without an extension
Re: opening file without an extension
- Subject: Re: opening file without an extension
- From: Charles Srstka <email@hidden>
- Date: Wed, 04 Jul 2012 14:54:54 -0500
On Jul 4, 2012, at 2:40 PM, Sean McBride wrote:
> On Sun, 1 Jul 2012 20:21:39 -0700, Todd Heberlein said:
>
>>> Does putting an asterisk (*) in the Extensions field for your document
>> type not work in the sandbox?
>>
>> Excellent! Yes it did.
>
> 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#//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?
Charles
_______________________________________________
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