• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Checking whether a file is a genuine PDF file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 20:52:25 -0500

On Oct 5, 2009, at 8:30 PM, Graham Cox wrote:

Most people would draw it with a simple check of the extension and maybe for files that traditionally have been subject to extension abuse (I don't think pdf is one of them)

Well, in this day and age I believe you should actually be checking the UTI rather than the extension.


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


References: 
 >Checking whether a file is a genuine PDF file (From: Squ Aire <email@hidden>)
 >Re: Checking whether a file is a genuine PDF file (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: wait for the event?
  • Next by Date: Re: NSOutlineView - Automatically select newly added item - Help needed
  • Previous by thread: Re: Checking whether a file is a genuine PDF file
  • Next by thread: Re: Checking whether a file is a genuine PDF file
  • Index(es):
    • Date
    • Thread