Contents

CFAttributedStringRemoveAttribute(_:_:_:)

Removes the value of a single attribute over a specified range.

Declaration

func CFAttributedStringRemoveAttribute(_ aStr: CFMutableAttributedString!, _ range: CFRange, _ attrName: CFString!)

Parameters

  • aStr:

    The mutable attributed string to modify.

  • range:

    The range of aStr from which to remove the specified attribute. range must not exceed the bounds of aStr.

  • attrName:

    The name of the attribute to remove.

Discussion

It is not an error of the specified attribute does not exist over the given range.

See Also

Modifying a CFMutableAttributedString