Instance Method


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


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


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software