Function

CFAttributedStringGetLength(_:)

Returns the length of the attributed string in characters.

Declaration

func CFAttributedStringGetLength(_ aStr: CFAttributedString!) -> CFIndex

Parameters

str

The attributed string to examine.

Return Value

The length of the attributed string in characters; this is the same as CFStringGetLength(CFAttributedStringGetString(aStr)).

See Also

Creating a CFAttributedString