Re: File association using file magic
Re: File association using file magic
- Subject: Re: File association using file magic
- From: Ken Thomases <email@hidden>
- Date: Thu, 23 Jan 2014 10:22:55 -0600
On Jan 22, 2014, at 8:33 AM, Remco Poelstra wrote:
> I'm writing an app which has to import files without a fixed file extension. There are about 10 different commonly used file extensions around.
> Is it possible to associate a file to my app based on the file contents? Much like how file (1) determines a file's type?
No.
> Or should I simply register all know file extensions?
That or accept all file types and then check the contents to decide if you can open the file.
Regards,
Ken
_______________________________________________
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