SwiftUI Components
VGSTextFieldRepresentable
Declaration
struct VGSTextFieldRepresentable: UIViewRepresentableCreating VGSTextFieldRepresentable
/// Initialization
///
/// - Parameters:
/// - configuration: `VGSConfiguration` instance.
public init(configuration: VGSConfiguration)Instance Methods
VGSTextFieldRepresentable Text modifiers
/// Set `UIFont` value.
public func font(_ font: UIFont)
/// Set `placeholder` string.
public func placeholder(_ text: String)
/// Set `attributedPlaceholder` string.
public func attributedPlaceholder(_ text: NSAttributedString?)
/// Set `UITextAutocapitalizationType` type.
public func autocapitalizationType(_ type: UITextAutocapitalizationType)
/// Set `UITextSpellCheckingType` type.
public func spellCheckingType(_ type: UITextSpellCheckingType)
/// Set `NSTextAlignment` type.
public func textAlignment(_ alignment: NSTextAlignment)
/// Set `adjustsFontForContentSizeCategory` value.
public func adjustsFontForContentSizeCategory(_ adjusts: Bool)
/// Set `isSecureTextEntry` value.
public func setSecureTextEntry(_ secure: Bool)
/// Coordinates connection between scan data and text field.
public func cardScanCoordinator(_ coordinator: VGSCardScanCoordinator)VGSTextFieldRepresentable View and Layout modifiers
VGSTextFieldRepresentable Accessibility modifiers
VGSTextFieldRepresentable Event modifiers
Code example
VGSCardTextFieldRepresentable
Declaration
Creating VGSCardTextFieldRepresentable
Instance Methods
VGSCardTextFieldRepresentable Card Icon modifiers
Code example
VGSCVCTextFieldRepresentable
Declaration
Creating VGSCVCTextFieldRepresentable
Instance Methods
VGSCVCTextFieldRepresentable Card Icon modifiers
Code example
VGSExpDateTextFieldRepresentable
Declaration
Creating VGSExpDateTextFieldRepresentable
Instance Methods
VGSExpDateTextFieldRepresentable Input Source modifiers
Code example
VGSDateTextFieldRepresentable
Declaration
Creating VGSDateTextFieldRepresentable
Instance Methods
VGSDateTextFieldRepresentable Input Source modifiers
Code example
Last updated

