Protocols
The following protocols are available globally.
-
The state of an input that Forage exposes during events or statically as input instance attributes.
See moreDeclaration
Swift
public protocol ObservableState -
The higher visual characteristics that apply to every Forage input and are not specific to a single input.
See moreDeclaration
Swift
public protocol Appearance -
The visual characteristics that require input-specific customization.
See moreDeclaration
Swift
public protocol Style -
The interface that all of Forage’s input elements adhere to be it for PAN or PIN.
See moreDeclaration
Swift
public protocol ForageElement : UIView, Appearance, ObservableState, Style -
Declaration
Swift
public protocol ForageElementDelegate : AnyObject -
Represents card information derived from the user’s current Primary Account Number (PAN) input value.
See moreDeclaration
Swift
public protocol DerivedCardInfoProtocol -
Declaration
Swift
public protocol PaymentSheetObservableState -
Declaration
Swift
public protocol ForagePaymentSheetElementDelegate -
Declaration
Swift
public protocol ForagePaymentSheetElement : UIView, Appearance, PaymentSheetObservableState, Style, Identifiable -
Declaration
Swift
public protocol ForagePaymentSheetField : ForageElement
Protocols Reference