Re: enumeratorAtPath - path string issue???
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