Contents

TranslationUIProviderContext

An object that encapsulates the XPC communication between the host process and the third-party extension implementation.

Declaration

protocol TranslationUIProviderContext : Observable

Discussion

The framework provides information to the extension through the two observable properties inputText and allowsReplacement, and the extension calls back to the host process using the functions finish(translation:) and, optionally expandSheet().

Topics

Instance Properties

Instance Methods

See Also

Creating translation app extensions