On Mon, 4 Mar 2013 13:22:39 -0800, Jens Alfke said:

>It’s also worth noting that if you want to display path components in a
>UI, you shouldn’t be working with filesystem-level methods like -
>pathComponents, because the user view of the file system isn’t identical
>to what’s ‘really’ there. The user sees mounted volumes at the top level
>not in /Volumes; many system directories have localized names; etc.
>There’s API elsewhere (in NSWorkspace IIRC) to get the user-visible
>components of a path for that purpose.

There's also NSPathControl.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

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