typeAndCreator
The file type and creator codes for the item.
Declaration
static var typeAndCreator: NSFileProviderItemFields { get }Discussion
This property contains two values: the file type code and the creator code. The system synchronizes both codes at the same time, so define both, even if you’re just changing one.
If you modify this property, the system sets the NSFileProviderTypeAndCreator value passed to the createItem(basedOn:fields:contents:options:request:completionHandler:) or modifyItem(_:baseVersion:changedFields:contents:options:request:completionHandler:) methods. The system also writes the type and creator codes in the FileInfo structure, if relevant.