Contents

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 aStr to be modified. range must not specify characters outside the bounds of aStr.

  • replacement:

    The attributed string to replace the contents of aStr in range.

See Also

Modifying a CFMutableAttributedString