CFAttributedStringReplaceAttributedString(_:_:_:)
Replaces the attributed substring over a range with another attributed string.
Declaration
func CFAttributedStringReplaceAttributedString(_ aStr: CFMutableAttributedString!, _ range: CFRange, _ replacement: CFAttributedString!)Parameters
- aStr:
The mutable attributed string to modify.
- range:
The range of
aStrto be modified.rangemust not specify characters outside the bounds ofaStr. - replacement:
The attributed string to replace the contents of
aStrinrange.