Type Property

contentIndependentMetadataOnly

Select this option when writing to change the file’s metadata only and not its contents.

Declaration

static var contentIndependentMetadataOnly: NSFileCoordinator.WritingOptions { get }

Discussion

Any changes written to the item’s contents during this coordinated write may not be preserved or may fail. Changing metadata that is related to the item’s content is also not supported, and those changes may not be preserved. For example, changing the value of tagNamesKey is supported, but changing the value of contentModificationDateKey is not.