VGSCardTextField
public final class VGSCardTextField : VGSTextField
An object that displays an editable text area. Can be use instead of a VGSTextField
when need to detect and show credit card brand images.
-
Available Card brand icon positions enum.
See moreDeclaration
Swift
public enum CardIconLocation
-
Card brand icon position inside
VGSCardTextField
.Declaration
Swift
public var cardIconLocation: VGSCardTextField.CardIconLocation { get set }
-
Card brand icon size.
Declaration
Swift
public var cardIconSize: CGSize { get set }
-
Asks custom image for specific
VGSPaymentCards.CardBrand
Declaration
Swift
public var cardsIconSource: ((VGSPaymentCards.CardBrand) -> UIImage?)?
-
The natural size for the Textfield, considering only properties of the view itself.
Declaration
Swift
public override var intrinsicContentSize: CGSize { get }