Contents

addTextRect(_:forCharacterRange:)

Adds a rectangle that corresponds to the specified character range in the document.

Declaration

func addTextRect(_ rect: CGRect, forCharacterRange range: NSRange)

Discussion

Specify the rectangle in the view coordinates of textInputView.