beforeFirstSyncComponent
A Boolean value indicating that this version predates the version returned by the file provider extension.
Declaration
class var beforeFirstSyncComponent: Data { get }Discussion
The system uses this property to represent an item that doesn’t have a corresponding version provided by the file provider extension.
When creating an item by calling the createItem(basedOn:fields:contents:options:request:completionHandler:) method, if your file provider extension returns an item that doesn’t match the template, the system tries to apply the necessary changes before saving the item to disk. However, if the system detects conflicts with the version on disk, it sends the new item back to your file provider extension by calling either the modifyItem(_:baseVersion:changedFields:contents:options:request:completionHandler:) of deleteItem(identifier:baseVersion:options:request:completionHandler:) methods with a baseVersion property that represents the item passed to the createItem(basedOn:fields:contents:options:request:completionHandler:) method.