---
title: observedPresentedItemUbiquityAttributes
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsfilepresenter/observedpresenteditemubiquityattributes
---

# observedPresentedItemUbiquityAttributes

A list of ubiquity attributes used to generate and send notifications whenever an attribute in the list changes.

## Declaration

```swift
optional var observedPresentedItemUbiquityAttributes: Set<URLResourceKey> { get }
```

## Discussion

Discussion Valid attributes include the isUbiquitousItemKey attribute and any attribute whose name starts with ubiquitousItem or ubiquitousSharedItem (or NSURLUbiquitousItem or NSURLUbiquitousSharedItem in Objective-C). If the property is not implemented, the system generates notifications for all the ubiquity attributes. The system checks this property only when the file coordinator’s addFilePresenter(_:) method is called. Make all changes to this property before calling addFilePresenter(_:).

## See Also

### Ubiquity Change Notifications

- [presentedItemDidChangeUbiquityAttributes(_:)](foundation/nsfilepresenter/presenteditemdidchangeubiquityattributes(_:).md)
