> 
>> On 6 Jan 2015, at 16:25, Trygve Inda <cocoa...@xericdesign.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to