enumeratorForMaterializedItems()
Returns an enumerator for all the items the system currently stores on disk.
Declaration
func enumeratorForMaterializedItems() -> any NSFileProviderEnumeratorMentioned in
Discussion
In most cases, the system requests an enumerator from the File Provider. The file provider creates the enumerator, and uses it to pass information back to the system. In this case, however, the roles are reversed. The File Provider extension calls this method to request an enumerator from the system. The system then creates the enumerator and uses it to pass the list of items currently stored on disk back to the File Provider extension.
See Also
Working with items
reimportItems(below:completionHandler:)evictItem(identifier:completionHandler:)requestDownloadForItem(withIdentifier:requestedRange:)requestDownloadForItem(withIdentifier:requestedRange:completionHandler:)requestModification(of:forItemWithIdentifier:options:completionHandler:)enumeratorForPendingItems()