On 8 Jul 2009, at 00:56, Bright wrote:
{ if(UTTypeConformsTo(uti, CFSTR("public.aiff-audio")))
You're looking for the wrong thing here.
% mdls /System/Library/Sounds/Morse.aiff
<...>
kMDItemContentType = "public.aifc-audio"
kMDItemContentTypeTree = (
"public.aifc-audio",
"public.audio",
"public.audiovisual-content",
"public.data",
"public.item",
"public.content"
)
But if what you're actually trying to accomplish is limiting your
listing to sound files, "public.audio" may be more appropriate.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com