Re: File association using file magic
Re: File association using file magic
- Subject: Re: File association using file magic
- From: Remco Poelstra <email@hidden>
- Date: Fri, 24 Jan 2014 10:04:05 +0100
Op 22 jan. 2014, om 15:33 heeft Remco Poelstra <email@hidden> het volgende geschreven:
> 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?
> Or should I simply register all know file extensions?
Thanks for both responses. I think I'll try to do both. Register all known file extensions, so the known ones get a nice document icon and the suggestion to open it with my app. And accept all other types, just in case someone comes up with a new extension. I think that will be the most useful to users.
Regards,
Remco Poelstra
_______________________________________________
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