CFAttributedStringReplaceString(_:_:_:)
Modifies the string of an attributed string.
Declaration
func CFAttributedStringReplaceString(_ aStr: CFMutableAttributedString!, _ range: CFRange, _ replacement: CFString!)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 string to replace the existing string in
range.