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.

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