Contents

attributedAlternateTitle

The title that the button displays as an attributed string when the button is in an on state.

Declaration

@NSCopying var attributedAlternateTitle: NSAttributedString { get set }

Discussion

This property contains the string that appears on the button when it’s in an on state, as an NSAttributedString, or the empty string if the button doesn’t display an alternate title. By default, a button’s alternate title is Button.

See Also

Configuring buttons