UIWritingToolsCoordinator.TextReplacementReason.interactive
An option to animate the replacement of text in your view.
Declaration
case interactiveDiscussion
When Writing Tools requests an interactive change in your delegate’s UIWritingToolsCoordinator/Delegate/writingToolsCoordinator(_:replaceRange:inContext: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 UIWritingToolsCoordinator.AnimationParameters type to create any view-specific animations you need to support the animated replacement of the text.