Class

FPUIActionExtensionContext

An extension context provided to File Provider UI extensions.

Declaration

class FPUIActionExtensionContext : NSExtensionContext

Topics

Completing the Action

func completeRequest()

Marks the action as complete.

func cancelRequest(withError: Error)

Cancels the action and returns the provided error.

Identifying the Domain

var domainIdentifier: NSFileProviderDomainIdentifier?

The identifier for the domain managed by the current file provider.

struct NSFileProviderDomainIdentifier

A unique identifier for a file provider's domain.

Relationships

Inherits From

Conforms To

See Also

Working with Actions

func prepare(forAction: String, itemIdentifiers: [NSFileProviderItemIdentifier])

Performs any necessary setup or configuration for the specified action.

func prepare(forError: Error)

Performs any necessary setup or configuration when an authentication error occurs.

var extensionContext: FPUIActionExtensionContext

The extension context provided by the host app.