Contents

URLResourceValues

The properties that the file system resources support.

Declaration

struct URLResourceValues

Overview

Not all property values exist for all file system URLs. For example, if a file is located on a volume that doesn’t support creation dates, you can request the creation date property, but the request returns nil and doesn’t generate an error.

Only the fields requested by the keys you pass into the URL function to receive this value will be populated. The other fields return nil regardless of the underlying property on the file system.

As a convenience, you can request volume resource values from any file system URL. The value returned reflects the property value for the volume that the resource is located on.

Topics

Application values

Directory values

File values

Volume capacity values

Volume status values

Volume support values

Ubiquitous values

Thumbnail values

Universal resource values

Initializers

Instance Properties

See Also

Accessing resource values