Re: URLByResolvingBookmarkData not case sensitive
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