Contents

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

  • replacement:

    The string to replace the existing string in range.

See Also

Modifying a CFMutableAttributedString