Contents

creationDateKey

The time at which the resource was created.

Declaration

static let creationDateKey: URLResourceKey

Discussion

This key corresponds to an NSDate value, or nil if the volume doesn’t support creation dates.

The corresponding resource is read-write.

A resource’s creationDateKey value should be less than or equal to the resource’s contentModificationDateKey and contentAccessDateKey values. Otherwise, the file system may change the creationDateKey to the lesser of those values.

See Also

Other resource keys