Re: Checking whether a file is a genuine PDF file
Re: Checking whether a file is a genuine PDF file
- Subject: Re: Checking whether a file is a genuine PDF file
- From: Charles Srstka <email@hidden>
- Date: Mon, 5 Oct 2009 22:08:03 -0500
On Oct 5, 2009, at 9:02 PM, James Walker wrote:
FWIW, in the classic Mac OS, it was not uncommon to see a PDF with
NO extension, but with the file type set to 'PDF '.
Yes. Fortunately, if you have your application check the UTI instead
of the filename extension, you'll always detect that it's
com.adobe.pdf whether the identifying information is in the extension,
HFS type code, or anything else the OS may use in the future to
determine the type.
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