Instance Method

presentedItemDidMove(to:)

Tells your object that the presented item moved or was renamed.

Declaration

optional func presentedItemDidMove(to newURL: URL)

Parameters

newURL

The URL containing the new path to the presented item.

Discussion

Use this method to update the value returned by the presentedItemURL property of your object.

See Also

Handling Changes to Files

func savePresentedItemChanges(completionHandler: (Error?) -> Void)

Tells your object to save any unsaved changes for the presented item.

func accommodatePresentedItemDeletion(completionHandler: (Error?) -> Void)

Tells your object that its presented item is about to be deleted.

func presentedItemDidChange()

Tells your object that the presented item’s contents or attributes changed.

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