Initializer

init(attributedText:)

Initializes a new label object with an attributed text string.

Declaration

convenience init(attributedText: NSAttributedString?)

Parameters

attributedText

The attributed string from which to initialize the label.

Return Value

A lable initialized from attributed text.

Discussion

See Also

Creating a Label

init(fontNamed: String?)

Initializes a new label object with a specified font.

init(text: String?)

Initializes a new label object with a text string.