<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSFileCoordinator/item(at:didChangeUbiquityAttributes:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileCoordinator(im)itemAtURL:didChangeUbiquityAttributes:"
  },
  "title" : "item(at:didChangeUbiquityAttributes:)"
}
-->

# item(at:didChangeUbiquityAttributes:)

Tells observing file providers that the item’s ubiquity attributes have changed.

```
func item(at url: URL, didChangeUbiquityAttributes attributes: Set<URLResourceKey>)
```

## Discussion

This method triggers the [NSFilePresenter](https://developer.apple.com/library/archive/releasenotes/Foundation/RN-FoundationOlderNotes/index.html#//apple_ref/doc/uid/TP40008080-TRANSLATED_CHAPTER_965-TRANSLATED_DEST_6) protocol’s [`presentedItemDidChangeUbiquityAttributes(_:)`](/documentation/Foundation/NSFilePresenter/presentedItemDidChangeUbiquityAttributes(_:)) method on any file presenters that are observing the item, even if they are running in different processes.

For information about the types of attributes that can trigger notifications, see the [`NSFilePresenter`](/documentation/Foundation/NSFilePresenter) protocol’s [`observedPresentedItemUbiquityAttributes`](/documentation/Foundation/NSFilePresenter/observedPresentedItemUbiquityAttributes) property.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)