NSURL

file://path/to/foo.txt
.isFileURLtrue
.absoluteStringfile://path/to/foo.txt
.absoluteURLfile://path/to/foo.txt
.fragmentnil
.hostpath
.lastPathComponentfoo.txt
.parameterStringnil
.passwordnil
.path/to/foo.txt
.pathComponents/, to, foo.txt
.pathExtensiontxt
.portnil
.querynil
.relativePath/to/foo.txt
.relativeStringfile://path/to/foo.txt
.resourceSpecifier//path/to/foo.txt
.schemefile
.standardizedfile://path/to/foo.txt
.usernil
.filePathURLfile://path/to/foo.txt
.deletingLastPathComponentfile://path/to/
.deletingPathExtensionfile://path/to/foo
.standardizingPathfile:///to/foo.txt