STPThreeDSSelectionCustomization

@interface STPThreeDSSelectionCustomization : NSObject

A customization object that configures the appearance of radio buttons and checkboxes.

  • The default settings.

    Declaration

    Objective-C

    + (nonnull instancetype)defaultSettings;

    Swift

    class func defaultSettings() -> Self
  • The primary color of the selected state. Defaults to blue.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull primarySelectedColor;

    Swift

    var primarySelectedColor: UIColor { get set }
  • The secondary color of the selected state (e.g. the checkmark color). Defaults to white.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        UIColor *_Nonnull secondarySelectedColor;

    Swift

    var secondarySelectedColor: UIColor { get set }
  • The background color displayed in the unselected state. Defaults to light blue.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        UIColor *_Nonnull unselectedBackgroundColor;

    Swift

    var unselectedBackgroundColor: UIColor { get set }
  • The color of the border drawn around the view in the unselected state. Defaults to blue.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) UIColor *_Nonnull unselectedBorderColor;

    Swift

    var unselectedBorderColor: UIColor { get set }