Instance Method


Tells the delegate that an item in the presented directory moved to a new location.


- (void)presentedSubitemAtURL:(NSURL *)oldURL didMoveToURL:(NSURL *)newURL;



The original URL of the item inside the presented directory. The item need not be at the top level of the presented directory but may itself be inside a nested subdirectory.


The new URL for the item. This URL may or may not be located inside the presented directory.


This method is relevant for applications that present directories. This might occur if the delegate manages the contents of a directory or manages a file that is implemented as a file package. Your implementation of this method should take whatever actions necessary to handle the change in location of the specified item. For example, you might update references to the item in your application’s data structures and refresh your user interface.

If the presented directory is a file package, the system calls the presentedItemDidChange method if your delegate does not implement this method.

See Also

Handling Changes to a Presented Directory

- accommodatePresentedSubitemDeletionAtURL:completionHandler:

Tells the delegate that some entity wants to delete an item that is inside of a presented directory.

- presentedSubitemDidAppearAtURL:

Tells the delegate that an item was added to the presented directory.

- presentedSubitemDidChangeAtURL:

Tells the delegate that the contents or attributes of the specified item changed.