The time at which the resource was most recently modified.
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
This key corresponds to an
NSDate value, or
nil if the volume doesn't support modification dates.
The corresponding resource is read-write.
Other Resource Keys
static let addedToDirectoryDateKey: URLResourceKey
The time at which the resource’s was created or renamed into or within its parent directory, returned as an
NSDate. Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)
static let attributeModificationDateKey: URLResourceKey
The time at which the resource’s attributes were most recently modified, returned as an
NSDate object if the volume supports attribute modification dates, or
nil if attribute modification dates are unsupported (read-only).
static let isExecutableKey: URLResourceKey
Key for determining whether the current process (as determined by the EUID) can execute the resource (if it is a file) or search the resource (if it is a directory), returned as a Boolean
NSNumber object (read-only).