• 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: enumeratorAtPath - path string issue???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enumeratorAtPath - path string issue???


  • Subject: Re: enumeratorAtPath - path string issue???
  • From: "Kyle Sluder" <email@hidden>
  • Date: Fri, 6 Jun 2008 01:25:59 -0400

On Thu, Jun 5, 2008 at 5:50 PM, Rail Jon Rogut <email@hidden> wrote:
>                if ([[[file pathExtension] lowercaseString] isEqualToString:

FWIW (and depending on what exactly you're trying to do you might want
to ignore me completely), this isn't the "correct" way to determine
file types on OS X.  You might want to consider seeing if the file's
UTI is or conforms to "com.microsoft.waveform-audio" using either
UTTypeEqual() or UTTypeConformsTo().  You can get the UTI of a file
using LSCopyItemAttribute with the kLSItemContentType constant.

--Kyle Sluder
_______________________________________________

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: 
 >enumeratorAtPath - path string issue??? (From: Rail Jon Rogut <email@hidden>)

  • Prev by Date: Multi Dock
  • Next by Date: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
  • Previous by thread: Re: enumeratorAtPath - path string issue???
  • Next by thread: NSWindow does not support utility styleMask 0x10 ???
  • Index(es):
    • Date
    • Thread