NSWritingToolsCoordinator.TextUpdateReason
Constants that specify the reason you updated your view’s content outside of the Writing Tools workflow.
Declaration
enum TextUpdateReasonOverview
If you modify your view’s text storage while Writing Tools is active, report those changes to your NSWritingToolsCoordinator object so it can track them correctly. Call the updateRange(_:with:reason:forContextWithIdentifier:) method to report changes that occur inside one of your context objects. Call the updateForReflowedTextInContextWithIdentifier(_:) method for changes that affect the layout of your text, such as text insertions before a context object or changes to your view’s frame rectangle.
Topics
Getting the reasons
NSWritingToolsCoordinator.TextUpdateReason.typingNSWritingToolsCoordinator.TextUpdateReason.undoRedo