ForageCardCVV

@MainActor
public class ForageCardCVV : UIView, Identifiable, ForagePaymentSheetField, ForageElementDelegate
extension ForageCardCVV: UITextFieldDelegate

Properties

  • Declaration

    Swift

    @MainActor
    public var name: String
  • Declaration

    Swift

    @MainActor
    public private(set) var isDirty: Bool { get }
  • Declaration

    Swift

    @MainActor
    public private(set) var isTouched: Bool { get }
  • Declaration

    Swift

    @MainActor
    public var invalidError: (any Error)? { get }
  • Declaration

    Swift

    @IBInspectable
    @MainActor
    public var isEmpty: Bool { get }
  • Declaration

    Swift

    @IBInspectable
    @MainActor
    public var isValid: Bool { get }
  • Declaration

    Swift

    @IBInspectable
    @MainActor
    public var isComplete: Bool { get }
  • BorderWidth for the text field

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var borderWidth: CGFloat { get set }
  • BorderColor for the text field

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var borderColor: UIColor? { get set }
  • CornerRadius for the text field

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var cornerRadius: CGFloat { get set }
  • MasksToBounds for the text field

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var masksToBounds: Bool { get set }
  • Declaration

    Swift

    @IBInspectable
    @MainActor
    public var padding: UIEdgeInsets { get set }
  • Placeholder for the text field

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var placeholder: String? { get set }
  • Text color for the text field textColor default value is black

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var textColor: UIColor? { get set }
  • Size of the text for the text field size default value is 24

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var size: Double { get set }
  • Tint color for the text field tfTintColor default value is black

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var tfTintColor: UIColor? { get set }
  • Text alignment textAlignment default value is natural

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var textAlignment: NSTextAlignment { get set }
  • Allow user to clear text field clearButtonMode default value is never

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var clearButtonMode: UITextField.ViewMode { get set }
  • Change UIFont UITextField text font

    Declaration

    Swift

    @IBInspectable
    @MainActor
    public var font: UIFont? { get set }

Public Delegate

Public API

UIResponder methods