state
The current level of Writing Tools activity in your view.
Declaration
var state: NSWritingToolsCoordinator.State { get }Discussion
Use this property to determine when Writing Tools is actively making changes to your view. During the course of Writing Tools interactions, the system reports state changes to the delegate’s writingToolsCoordinator(_:willChangeTo:completion:) method and updates this property accordingly.