Class

FIFinderSyncController

The FIFinderSyncController class acts as a bridge between your Finder Sync extension and the Finder itself. Use the Finder Sync controller to configure your extension, to set badges on items in the Finder’s window, and to get a list of selected and targeted items.

Declaration

@interface FIFinderSyncController : NSExtensionContext

Topics

Managing the Finder Sync Controller

+ defaultController

Returns the shared Finder Sync controller object.

directoryURLs

The directories managed by this extension.

- selectedItemURLs

Returns an array of selected items.

- setBadgeIdentifier:forURL:

Sets the badge for a file or directory.

- setBadgeImage:label:forBadgeIdentifier:

Sets the badge image and label for the given ID.

- targetedURL

Returns the URL of the Finder’s current target.

Type Properties

Relationships

Inherits From