Initializes a newly created NSURL referencing the local file or directory at
- iOS 2.0+
- macOS 10.5+
- tvOS 2.0+
- watchOS 2.0+
The path that the NSURL object will represent.
pathshould be a valid system path, and must not be an empty path. If
pathbegins with a tilde, it must first be expanded with
Tilde In Path
pathis a relative path, it is treated as being relative to the current working directory.
An NSURL object initialized with