ValidationPolicy

public enum ValidationPolicy

Allows you to manage validation behaviors after text field end editing

  • Validation always performs after text field end editing

    Declaration

    Swift

    case always
  • Validation performs if current text is not empty

    Declaration

    Swift

    case notEmptyText
  • Validation performs if user make some changes into the text (entered at least one character, set the text, or manually validate the field)

    Declaration

    Swift

    case afterChanges
  • Validation is never performed

    Declaration

    Swift

    case never