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
aStrfrom which to remove the specified attribute.rangemust not exceed the bounds ofaStr. - 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.