Contents

endObservingDirectory(at:)

Tells the extension that the user has stopped looking at a monitored directory or at one of its subdirectories.

Declaration

optional func endObservingDirectory(at url: URL)

Parameters

  • url:

    The URL of the directory.

Discussion

Override this method to receive notifications when the user is no longer looking at the contents of the given URL. As with beginObservingDirectory(at:), the Open and Save dialogs are tracked separately from the Finder.

See Also

Managing Badges, Shortcut Menus, and Toolbar Buttons