replace(_:withAttributedText:)

Declaration

optional func replace(_ range: UITextRange, withAttributedText attributedText: NSAttributedString)