Instance Method

itemAtURL:didChangeUbiquityAttributes:

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

Declaration

- (void)itemAtURL:(NSURL *)url didChangeUbiquityAttributes:(NSSet<NSURLResourceKey> *)attributes;

Discussion

This method triggers the NSFilePresenter protocol's 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 protocol's observedPresentedItemUbiquityAttributes property.