PostcodeCountries

public enum PostcodeCountries : String

Countries that are supported by PostcodeCondition. Each postcode is an ISO 3166-1 alpha-3 country code. There is a regex property that returns the regex for validating that country’s postcode.

  • Undocumented

    Declaration

    Swift

    case sweden = "SWE"
  • Undocumented

    Declaration

    Swift

    case turkey = "TUR"
  • Undocumented

    Declaration

    Swift

    case unitedKingdom = "GBR"
  • Undocumented

    Declaration

    Swift

    case unitedStates = "USA"
  • The regex for validating the country’s postcode.

    Declaration

    Swift

    public var regex: String { get }
  • Undocumented

    Declaration

    Swift

    public static let allValues: [PostcodeCountries]