---
title: enumeratorForPendingItems()
framework: fileprovider
role: symbol
role_heading: Instance Method
path: fileprovider/nsfileprovidermanager/enumeratorforpendingitems()
---

# enumeratorForPendingItems()

Returns an enumerator for the set of pending items.

## Declaration

```swift
func enumeratorForPendingItems() -> any NSFileProviderPendingSetEnumerator
```

## Discussion

Discussion When the set of pending items changes, the system calls pendingItemsDidChange(completionHandler:).

## See Also

### Working with items

- [reimportItems(below:completionHandler:)](fileprovider/nsfileprovidermanager/reimportitems(below:completionhandler:).md)
- [evictItem(identifier:completionHandler:)](fileprovider/nsfileprovidermanager/evictitem(identifier:completionhandler:).md)
- [requestDownloadForItem(withIdentifier:requestedRange:)](fileprovider/nsfileprovidermanager/requestdownloadforitem(withidentifier:requestedrange:).md)
- [requestDownloadForItem(withIdentifier:requestedRange:completionHandler:)](fileprovider/nsfileprovidermanager/requestdownloadforitem(withidentifier:requestedrange:completionhandler:).md)
- [requestModification(of:forItemWithIdentifier:options:completionHandler:)](fileprovider/nsfileprovidermanager/requestmodification(of:foritemwithidentifier:options:completionhandler:).md)
- [enumeratorForMaterializedItems()](fileprovider/nsfileprovidermanager/enumeratorformaterializeditems().md)
