ADYButtonAppearance Class Reference

Inherits from ADYAppearance : NSObject
Declared in ADYButtonAppearance.h

Overview

Contains properties to customize the appearance of a button.

Note: This class corresponds to the ButtonCustomization class in the specification.

  textTransform

The type of transform to apply to the button’s text.

@property (nonatomic, assign, readwrite) ADYButtonAppearanceTextTransform textTransform

Discussion

The type of transform to apply to the button’s text.

Declared In

ADYButtonAppearance.h

  backgroundColor

The background color of the button.

@property (nonatomic, strong, readwrite) UIColor *backgroundColor

Discussion

The background color of the button.

Declared In

ADYButtonAppearance.h

  disabledTextColor

The color of the button’s title in case it’s disabled.

@property (nonatomic, strong, readwrite) UIColor *disabledTextColor

Discussion

The color of the button’s title in case it’s disabled.

Declared In

ADYButtonAppearance.h

  disabledBackgroundColor

The background color of the button in case it’s disabled.

@property (nonatomic, strong, readwrite) UIColor *disabledBackgroundColor

Discussion

The background color of the button in case it’s disabled.

Declared In

ADYButtonAppearance.h

  highlightedBackgroundColor

The background color of hte button in case it’s highlighted, or nil when the default color should be darkened.

@property (nonatomic, strong, readwrite, nullable) UIColor *highlightedBackgroundColor

Discussion

The background color of hte button in case it’s highlighted, or nil when the default color should be darkened.

Declared In

ADYButtonAppearance.h

  cornerRadius

The radius of the button’s corners.

@property (nonatomic, assign, readwrite) CGFloat cornerRadius

Discussion

The radius of the button’s corners.

Declared In

ADYButtonAppearance.h