> 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. _______________________________________________ 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