STPThreeDSTextFieldCustomization
public class STPThreeDSTextFieldCustomization : NSObject
A customization object to use to configure the UI of a text field.
-
The default settings.
Declaration
Swift
@objc public class func defaultSettings() -> STPThreeDSTextFieldCustomization
-
The border width of the text field. Defaults to 2.
Declaration
Swift
@objc public var borderWidth: CGFloat { get set }
-
The color of the border of the text field. Defaults to clear.
Declaration
Swift
@objc public var borderColor: UIColor { get set }
-
The corner radius of the edges of the text field. Defaults to 8.
Declaration
Swift
@objc public var cornerRadius: CGFloat { get set }
-
The appearance of the keyboard. Defaults to UIKeyboardAppearanceDefault.
Declaration
Swift
@objc public var keyboardAppearance: UIKeyboardAppearance { get set }
-
The color of the placeholder text. Defaults to light gray.
Declaration
Swift
@objc public var placeholderTextColor: UIColor { get set }
-
The font to use for text.
Declaration
Swift
@objc public var font: UIFont? { get set }
-
The color to use for the text. Defaults to black.
Declaration
Swift
@objc public var textColor: UIColor? { get set }