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