Question

I have an NSURL.
It is file://localhost/Users/Me/File.xml

I want an NSString that is /Users/Me/File.xml

Is there some nice function I can use to do this?

Was it helpful?

Solution

NSURL path method sounds like it does what you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top