FileProvider macOS 11.3 to 12.0 API Differences

NSFileProviderActions.h
Removed NSFileProviderExtension (NSFileProviderActions)
Removed -[NSFileProviderExtension importDocumentAtURL:toParentItemIdentifier:completionHandler:]
Removed -[NSFileProviderExtension createDirectoryWithName:inParentItemIdentifier:completionHandler:]
Removed -[NSFileProviderExtension renameItemWithIdentifier:toName:completionHandler:]
Removed -[NSFileProviderExtension reparentItemWithIdentifier:toParentItemWithIdentifier:newName:completionHandler:]
Removed -[NSFileProviderExtension trashItemWithIdentifier:completionHandler:]
Removed -[NSFileProviderExtension untrashItemWithIdentifier:toParentItemIdentifier:completionHandler:]
Removed -[NSFileProviderExtension deleteItemWithIdentifier:completionHandler:]
Removed -[NSFileProviderExtension setLastUsedDate:forItemIdentifier:completionHandler:]
Removed -[NSFileProviderExtension setTagData:forItemIdentifier:completionHandler:]
Removed -[NSFileProviderExtension setFavoriteRank:forItemIdentifier:completionHandler:]
NSFileProviderDefines.h
Removed #def FILEPROVIDER_CLASS_AVAILABILITY
Added #def FILEPROVIDER_API_AVAILABILITY_V1
Added #def FILEPROVIDER_API_AVAILABILITY_V1_V2_V3
Added #def FILEPROVIDER_API_AVAILABILITY_V4_0
NSFileProviderDomain.h
Added NSFileProviderDomain.backingStoreIdentity
NSFileProviderEnumerating.h
Removed NSFileProviderExtension (NSFileProviderEnumeration)
Removed -[NSFileProviderExtension enumeratorForContainerItemIdentifier:error:]
NSFileProviderExtension.h
Removed NSFileProviderExtension (Deprecated)
NSFileProviderItem.h
Added NSFileProviderTypeAndCreator
Added NSFileProviderItem.typeAndCreator
Modified NSFileProviderItemCapabilitiesAllowsAll
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis capability is no longer supported, and does not contain all capabilities. Please migrate to directly specifying each of the individual capabilities that should be allowed for the item.

NSFileProviderManager.h
Added NSFileProviderDomainRemovalMode
Added NSFileProviderDomainRemovalModeRemoveAll
Added NSFileProviderDomainRemovalModePreserveDirtyUserData
Added NSFileProviderDomainRemovalModePreserveDownloadedUserData
Added +[NSFileProviderManager removeDomain:mode:completionHandler:]
NSFileProviderReplicatedExtension.h
Added NSFileProviderItemTypeAndCreator
Added NSFileProviderUserInteractionSuppressing
Added -[NSFileProviderUserInteractionSuppressing setInteractionSuppressed:forIdentifier:]
Added -[NSFileProviderUserInteractionSuppressing isInteractionSuppressedForIdentifier:]
NSFileProviderService.h
Removed NSFileProviderExtension (NSFileProviderService)
NSFileProviderThumbnailing.h
Removed NSFileProviderExtension (NSFileProviderThumbnailing)