typingAttributes(in:)
Returns the typing attributes for a corresponding text.
Declaration
func typingAttributes(in text: AttributedString) -> AttributeContainerDiscussion
The typing attributes are the attributes that will be applied to any new characters typed out by the user.