YMAMutableButtonAppearance

Objective-C

@interface YMAMutableButtonAppearance : YMAButtonAppearance

Swift

class YMAMutableButtonAppearance : YMAButtonAppearance

Class with editable settings for the standard button appearance.

  1. Properties
  2. textAppearance
  3. highlightedTextColor
  4. normalColor
  5. highlightedColor
  6. borderColor
  7. borderWidth

Properties

textAppearance

Settings for the button label (YMALabelAppearance).

Declaration

Objective-C

@property (nonatomic, copy) YMALabelAppearance *_Nonnull textAppearance;

Swift

@NSCopying var textAppearance: YMALabelAppearance { get set }

highlightedTextColor

Label color when the button is clicked.

Declaration

Objective-C

@property (nonatomic, strong) UIColor *_Nonnull highlightedTextColor;

normalColor

The color of the button background in its normal state.

Declaration

Objective-C

@property (nonatomic, strong) UIColor *_Nonnull normalColor;

highlightedColor

The color of the button background when clicked.

Declaration

Objective-C

@property (nonatomic, strong) UIColor *_Nonnull highlightedColor;

borderColor

The color of the button border.

Declaration

Objective-C

@property (nonatomic, strong) UIColor *_Nonnull borderColor;

borderWidth

The width of the button border.

Declaration

Objective-C

@property (nonatomic) CGFloat borderWidth;

Swift

var borderWidth: CGFloat { get set }