---
title: "itemChanged(at:)"
framework: fileprovider
role: symbol
role_heading: Instance Method
path: "fileprovider/nsfileproviderextension/itemchanged(at:)"
---

# itemChanged(at:)

Tells the File Provider extension that a document has changed.

## Declaration

```swift
func itemChanged(at url: URL)
```

## Parameters

- `url`: The URL of a shared document.

## Discussion

Discussion The system calls this method when a shared file’s content changes, typically in response to coordinated writes from the host app. You must override this method and respond to these changes. Do not call super in your implementations. In your implementation, defer all networking, asynchronous, or long-running operations to background tasks. For networking tasks, create a background URLSession task, and then register the task with the file provider manager by calling the manager’s register(_:forItemWithIdentifier:completionHandler:) method.

## See Also

### Managing shared files

- [providePlaceholder(at:completionHandler:)](fileprovider/nsfileproviderextension/provideplaceholder(at:completionhandler:).md)
- [startProvidingItem(at:completionHandler:)](fileprovider/nsfileproviderextension/startprovidingitem(at:completionhandler:).md)
- [stopProvidingItem(at:)](fileprovider/nsfileproviderextension/stopprovidingitem(at:).md)
