Contents

UIWritingToolsCoordinator.TextDecoration

Use the UIWritingToolsCoordinator.TextDecoration constants to determine the type of decoration to be applied to a preview for grammar animation. The grammar animation needs previews of the text of the issue in two forms, without and with the grammar indication underline applied. If you use grammar animation, you must implement the delegate method Writingtoolscoordinator(_:requestspreviewfor:of:in:textdecoration:completion:) to provide both forms of previews, based on the specified decoration.

Declaration

enum TextDecoration

Topics

Enumeration Cases

Initializers