writingToolsCoordinator(_:setGrammarCheckingEnabled:)
Notifies the delegate when the user chooses to disable grammar checking.
Declaration
optional func writingToolsCoordinator(_ writingToolsCoordinator: NSWritingToolsCoordinator, setGrammarCheckingEnabled enabled: Bool)Discussion
To support the grammar presentation UI, the delegate is notified if the user chooses the option provided in the grammar presentation UI to disable grammar checking for the view. If you use grammar presentation, you should implement this method to respond to that action.