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.