• 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: UTI case doesn't matter sometimes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTI case doesn't matter sometimes?


  • Subject: Re: UTI case doesn't matter sometimes?
  • From: Sean McBride <email@hidden>
  • Date: Mon, 13 Apr 2015 15:17:19 -0400
  • Organization: Rogue Research Inc.

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().

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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


  • Follow-Ups:
    • Re: UTI case doesn't matter sometimes?
      • From: Ken Thomases <email@hidden>
References: 
 >UTI case doesn't matter sometimes? (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: objc_msgSend() selector name: tableView:objectValueForTableColumn:row:
  • Next by Date: Re: UTI case doesn't matter sometimes?
  • Previous by thread: UTI case doesn't matter sometimes?
  • Next by thread: Re: UTI case doesn't matter sometimes?
  • Index(es):
    • Date
    • Thread