Hi all,

I want to display a path to the user. I have a URL, I need to show the local 
file path that represents (it’s always a local file path), where the 
/Users/<username>/ is replaced by ~/

Is there an easy, reliable way to do this, or do I have to do a string 
search/replace myself? Going the other way is trivial, I know, but I don’t see 
anything that gives me a displayable path given a URL.

—Graham



_______________________________________________

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