UI Elements
-
An object that displays an editable text area in user interface.
See moreDeclaration
Swift
public class VGSTextField : UIView
extension VGSTextField: UITextFieldDelegate
-
An object that displays an editable text area. Can be use instead of a
See moreVGSTextField
when need to detect and show credit card brand images.Declaration
Swift
public final class VGSCardTextField : VGSTextField
-
An object that displays an editable text area. Can be use instead of a
See moreVGSTextField
when need to show picker view with Card Number Expiration Month and Year.Declaration
Swift
public final class VGSExpDateTextField : VGSTextField
extension VGSExpDateTextField: UIPickerViewDelegate, UIPickerViewDataSource
-
An object that displays an editable text area. Can be use instead of a
See moreVGSTextField
when need to show picker view with a Date. It support to define a range of valid dates to select from.Declaration
Swift
public final class VGSDateTextField : VGSTextField
extension VGSDateTextField: UIPickerViewDelegate, UIPickerViewDataSource
-
An object that displays an editable text area. Can be use instead of a
See moreVGSTextField
when need to show CVC/CVV images for credit card brands.Declaration
Swift
public final class VGSCVCTextField : VGSTextField
-
Delegates produced by
See moreVGSTextField
instance.Declaration
Swift
@objc public protocol VGSTextFieldDelegate
-
A class responsible for configuration VGSTextField.
See moreDeclaration
Swift
public class VGSConfiguration : VGSTextFieldConfigurationProtocol
-
A class responsible for configuration
See moreVGSTextField
withfieldType = .expDate
. ExtendsVGSConfiguration
class.Declaration
Swift
public final class VGSExpDateConfiguration : VGSConfiguration, VGSExpDateConfigurationProtocol, VGSFormatSerializableProtocol
-
Class responsible for configuration
See moreVGSDateTextField
orVGSTextField
withfieldType = .date
. ExtendsVGSConfiguration
Declaration
Swift
public final class VGSDateConfiguration : VGSConfiguration, VGSDateConfigurationProtocol, VGSFormatSerializableProtocol
-
See moreVGSCardHolderNameTokenizationConfiguration
- textfield configuration for textfield with type.cardHolderName
, required for work with tokenization api.Declaration
Swift
public class VGSCardHolderNameTokenizationConfiguration : VGSConfiguration, VGSTextFieldTokenizationConfigurationProtocol
-
See moreVGSCardTokenizationConfiguration
- textfield configuration for textfield with type.cardNumber
, required for work with tokenization api.Declaration
Swift
public class VGSCardNumberTokenizationConfiguration : VGSConfiguration, VGSTextFieldTokenizationConfigurationProtocol
-
See moreVGSCVCTokenizationConfiguration
- textfield configuration for textfield with type.cvc
, required for work with tokenization api.Declaration
Swift
public class VGSCVCTokenizationConfiguration : VGSConfiguration, VGSTextFieldTokenizationConfigurationProtocol
-
Class responsible for configuration
See moreVGSDateTextField
orVGSTextField
withfieldType = .date
. ExtendsVGSConfiguration
. Required to work with tokenization API.Declaration
Swift
public final class VGSDateTokenizationConfiguration : VGSConfiguration, VGSDateConfigurationProtocol, VGSTextFieldTokenizationConfigurationProtocol, VGSFormatSerializableProtocol
-
See moreVGSExpDateTokenizationConfiguration
- textfield configuration for textfield with type.expDate
, required for work with tokenization api.Declaration
Swift
public final class VGSExpDateTokenizationConfiguration : VGSConfiguration, VGSExpDateConfigurationProtocol, VGSTextFieldTokenizationConfigurationProtocol, VGSFormatSerializableProtocol
-
See moreVGSSSNTokenizationConfiguration
- textfield configuration for textfield with type.ssn
, required for work with tokenization api.Declaration
Swift
public class VGSSSNTokenizationConfiguration : VGSConfiguration, VGSTextFieldTokenizationConfigurationProtocol
-
See moreVGSTokenizationConfiguration
- textfield configuration for textfield with any type of data, required for work with tokenization api.Declaration
Swift
public class VGSTokenizationConfiguration : VGSConfiguration, VGSTextFieldTokenizationConfigurationProtocol
-
Define the methods and properties the date configuration must have
See moreDeclaration
Swift
public protocol VGSDateConfigurationProtocol
-
Attributes required to configure date format and input source for field with type
See more.expDate
.Declaration
Swift
public protocol VGSExpDateConfigurationProtocol
-
Type of
See moreVGSTextField
configuration.Declaration
Swift
public enum FieldType : Int, CaseIterable
-
Format used to validate a VGS date text input
See moreDeclaration
Swift
public enum VGSDateFormat : InputConvertableFormat, OutputConvertableFormat
-
See moreStruct
that represents a date includingyear
,month
andday
. It doesn’t includehours
,minutes
orseconds
.Declaration
Swift
public struct VGSDate
extension VGSDate: Comparable
-
Type of
See moreVGSTextField
input source.Declaration
Swift
public enum VGSTextFieldInputSource