• 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: Trygve Inda <email@hidden>
  • Date: Tue, 06 Jan 2015 17:05:24 -0800
  • Thread-topic: URLByResolvingBookmarkData not case sensitive

>
>> On 6 Jan 2015, at 16:25, Trygve Inda <email@hidden> wrote:
>>
>> What then is the best way to do what I need?
>>
>> I am saving a bookmark to a file and later on I need to display the filename
>> associated with that Bookmark.
>>
>> Currently I am getting the path and taking the last component, but it seems
>> that when the filename's case has been changed by the user, that path
>> received does not change so I am left with a name that does not match
>> because the case is different.
>
> Sounds to me like you want to ask the URL for its NSURLLocalizedNameKey
> resource value.
>
>

This works for the file itself but how can I make sure the whole path's case
sensitivity still matches.

If I bookmark a file and the case of any folders or the file itself changes,
then later when I extract the path from the bookmark I want it to reflect
the new case of the path as it now exists.



_______________________________________________

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: Kyle Sluder <email@hidden>
References: 
 >Re: URLByResolvingBookmarkData not case sensitive (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Blurry is the New Sharp
  • 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