14

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?

Mike Abdullah
  • 14,933
  • 2
  • 50
  • 75
Randall
  • 14,691
  • 7
  • 40
  • 60

1 Answers1

39

NSURL path method sounds like it does what you want.

Pavel Minaev
  • 99,783
  • 25
  • 219
  • 289