Re: URLByResolvingBookmarkData not case sensitive
Re: URLByResolvingBookmarkData not case sensitive
- Subject: Re: URLByResolvingBookmarkData not case sensitive
- From: Mike Abdullah <email@hidden>
- Date: Tue, 06 Jan 2015 18:08:00 +0000
> 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.
_______________________________________________
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