Instance Property


A boolean value that determines whether the receiver is a file URL.


@property(readonly, getter=isFileURL) BOOL fileURL;


The property’s value is YES if the receiver uses the file scheme, NO otherwise. Both file path and file reference URLs are considered to be file URLs.

If this property’s value is YES, then the receiver’s path property contains a suitable value for input into NSFileManager or NSPathUtilities.

See Also

Querying an NSURL

- checkResourceIsReachableAndReturnError:

Returns whether the resource pointed to by a file URL can be reached.

- isFileReferenceURL

Returns whether the URL is a file reference URL.