Re: UTI case doesn't matter sometimes?
Re: UTI case doesn't matter sometimes?
- Subject: Re: UTI case doesn't matter sometimes?
- From: Ken Thomases <email@hidden>
- Date: Mon, 13 Apr 2015 14:29:07 -0500
On Apr 13, 2015, at 2:17 PM, Sean McBride <email@hidden> wrote:
> On Mon, 13 Apr 2015 14:09:06 -0500, Steve Mills said:
>
>> So, should string comparisons be case-insensitive when comparing UTIs?
>> If not, then things fail.
>
> Don't compare as strings, use UTTypeConformsTo().
Or -[NSWorkspace type:conformsToType:].
Cheers,
Ken
_______________________________________________
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