IssueNumberInputField

public class IssueNumberInputField: JudoPayInputField

The IssueNumberInputField is an input field configured to detect, validate and present issue numbers for Maestro cards.

  • Delegate method implementation

    Declaration

    Swift

    public func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -> Bool

    Parameters

    textField

    Text field

    range

    Range

    string

    String

    Return Value

    boolean to change characters in given range for a textfield

  • Check if this input field is valid

    Declaration

    Swift

    public override func isValid() -> Bool

    Return Value

    True if valid input

  • Subclassed method that is called when text field content was changed

    Declaration

    Swift

    public override func textFieldDidChangeValue(textField: UITextField)

    Parameters

    textField

    the textfield of which the content has changed

  • The placeholder string for the current input field

    Declaration

    Swift

    public override func placeholder() -> NSAttributedString?

    Return Value

    an Attributed String that is the placeholder of the receiver

  • Title of the receiver input field

    Declaration

    Swift

    public override func title() -> String

    Return Value

    a string that is the title of the receiver

  • Hint label text

    Declaration

    Swift

    public override func hintLabelText() -> String

    Return Value

    string that is shown as a hint when user resides in a inputField for more than 5 seconds