---
title: NSFileProviderDomainDidChange
framework: fileprovider
role: symbol
role_heading: Global Variable
path: fileprovider/nsfileproviderdomaindidchange
---

# NSFileProviderDomainDidChange

A notification that posts when a file provider’s domain changes.

## Declaration

```occ
extern NSNotificationName const NSFileProviderDomainDidChange;
```

## Discussion

Discussion The system only posts this notification after the first call to getDomainsWithCompletionHandler(_:). After receiving this notification, call getDomainsWithCompletionHandler(_:) again to determine what the changes are.

## See Also

### Global variables

- [NSFileProviderMaterializedSetDidChange](fileprovider/nsfileprovidermaterializedsetdidchange.md)
- [NSFileProviderPendingSetDidChange](fileprovider/nsfileproviderpendingsetdidchange.md)
