Contents

NSWritingToolsCoordinator.TextReplacementReason.interactive

An option to animate the replacement of text in your view.

Declaration

case interactive

Discussion

When Writing Tools requests an interactive change in your delegate’s writingToolsCoordinator(_:replace:in:proposedText:reason:animationParameters:completion:) method, it passes a valid set of animation parameters to that method. Update your view’s text storage and use the provided NSWritingToolsCoordinator.AnimationParameters type to create any view-specific animations you need to support the animated replacement of the text.

See Also

Getting the reasons