Contents

observedPresentedItemUbiquityAttributes

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

Declaration

optional var observedPresentedItemUbiquityAttributes: Set<URLResourceKey> { get }

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