Contents

validAttributesForMarkedText()

Returns an array of attribute names recognized by the receiver.

Declaration

func validAttributesForMarkedText() -> [NSAttributedString.Key]

Return Value

An array of NSString objects representing names for the supported attributes.

Discussion

Returns an empty array if no attributes are supported. See NSAttributedString Application Kit Additions Reference for the set of string constants representing standard attributes.

See Also

Handling marked text