FormStyle
@objcMembers
@objc(PAYCardFormStyle)
public class FormStyle : NSObject
CardForm style settings. It’s possible to change the color of each UIComponent.
-
Default style.
Declaration
Swift
public static let defaultStyle: FormStyle -
Text color of UILabel.
Declaration
Swift
public let labelTextColor: UIColor -
Text color of UITextField.
Declaration
Swift
public let inputTextColor: UIColor -
Text color of Error.
Declaration
Swift
public let errorTextColor: UIColor -
Tint color of UITextField.
Declaration
Swift
public let tintColor: UIColor -
Background color of UITextField.
Declaration
Swift
public let inputFieldBackgroundColor: UIColor -
Background color of UIButton.
Declaration
Swift
public let submitButtonColor: UIColor -
Highlight color of Card display label.
Declaration
Swift
public let highlightColor: UIColor -
init(labelTextColor:inputTextColor: errorTextColor: tintColor: inputFieldBackgroundColor: submitButtonColor: highlightColor: ) Undocumented
Declaration
Swift
public init(labelTextColor: UIColor? = nil, inputTextColor: UIColor? = nil, errorTextColor: UIColor? = nil, tintColor: UIColor? = nil, inputFieldBackgroundColor: UIColor? = nil, submitButtonColor: UIColor? = nil, highlightColor: UIColor? = nil)
View on GitHub