Instance Property

isEnabled

The enabled state to use when drawing the label’s text.

Declaration

var isEnabled: Bool { get set }

Discussion

This property determines only how the label is drawn. Disabled text is dimmed somewhat to indicate it is not active. This property is set to true by default.

See Also

Accessing the Text Attributes

var text: String?

The current text that is displayed by the label.

var attributedText: NSAttributedString?

The current styled text that is displayed by the label.

var font: UIFont!

The font used to display the text.

var textColor: UIColor!

The color of the text.

var textAlignment: NSTextAlignment

The technique to use for aligning the text.

var lineBreakMode: NSLineBreakMode

The technique to use for wrapping and truncating the label’s text.