Instance Property

attributedText

The attributed string displayed by the label.

Declaration

@NSCopying var attributedText: NSAttributedString? { get set }

Discussion

The following properties are ignored if attributedText is defined:

text

The label favors the attributed string.

fontColor

Font color is defined by tags in the attributed string.

fontSize

Font size is defined by tags in the attributed string.

See Also

Setting a Label's Text

var text: String?

The string that the label node displays.