AddressFormatStyle

public enum AddressFormatStyle

Address format style manage address string representation

  • House number and street name

    Declaration

    Swift

    case short
  • House number, street name and place name (city). For region-based contries (like USA), the State name will be appended

    Declaration

    Swift

    case medium
  • All address components (if available) without postcode

    Declaration

    Swift

    case long
  • All available address components

    Declaration

    Swift

    case full
  • Provide Address keypaths to build your own format. No additional country-based logic would be applied

    Declaration

    Swift

    case custom(components: [KeyPath<Address, String?>])