Instance Property

observedPresentedItemUbiquityAttributes

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

Declaration

@property(readonly, strong) NSSet<NSURLResourceKey> *observedPresentedItemUbiquityAttributes;

Discussion

Valid attributes include the NSURLIsUbiquitousItemKey attribute and any attribute whose name starts with NSURLUbiquitousItem or NSURLUbiquitousSharedItem.

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:

Tells your object that the file or file package's ubiquity attributes have changed.