Type Property


The parent directory of the resource, returned as an NSURL object, or nil if the resource is the root directory of its volume (read-only).


static let parentDirectoryURLKey: URLResourceKey

See Also

Directory Keys

static let isDirectoryKey: URLResourceKey

Key for determining whether the resource is a directory, returned as a Boolean NSNumber object (read-only).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software