Re: CAF files
Re: CAF files
- Subject: Re: CAF files
- From: "B.J. Buchalter" <email@hidden>
- Date: Wed, 4 Aug 2010 21:56:19 -0400
On Aug 4, 2010, at 3:13 PM, Kyle Sluder wrote:
> On Wed, Aug 4, 2010 at 11:45 AM, B.J. Buchalter <email@hidden> wrote:
>> So, you are saying that it is better to set the OSType to '\0\0\0\0'?
>
> Why are you setting an OSType at all? Launch Services doesn't even
> consult it on 10.6: http://db.tidbits.com/article/10537
Our software runs on versions of Mac OS X before 10.6.
> If you're deciding whether to allow selection of a file in an Open
> dialog or other user interaction, use -[NSWorkspace typeOfFile:error:]
> and -[NSWorkspace type:conformsToType:]. If you're trying to determine
> whether you've been handed valid data, just check for well-formedness.
I am not checking the OSType in my code. I am just setting it. There are other apps that appear to check it.
Best regards,
B.J. Buchalter
Metric Halo
http://www.mhlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden