• 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: URLByResolvingBookmarkData not case sensitive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLByResolvingBookmarkData not case sensitive


  • Subject: Re: URLByResolvingBookmarkData not case sensitive
  • From: Robert Martin <email@hidden>
  • Date: Wed, 07 Jan 2015 08:40:00 -0500

Since the file system is case insensitive, why not store the path in upper or lower case, and convert the path you’re comparing accordingly?

> When adding new files, I need to make sure the file is not already in the
> database so I compare the paths. This works well except when the case
> changes.

_______________________________________________

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: URLByResolvingBookmarkData not case sensitive
      • From: Robert Martin <email@hidden>
References: 
 >Re: URLByResolvingBookmarkData not case sensitive (From: Trygve Inda <email@hidden>)

  • Prev by Date: NSScrollView autolayout (10.10)
  • Next by Date: Re: URLByResolvingBookmarkData not case sensitive
  • Previous by thread: Re: URLByResolvingBookmarkData not case sensitive
  • Next by thread: Re: URLByResolvingBookmarkData not case sensitive
  • Index(es):
    • Date
    • Thread