UnitsConfiguration

public struct UnitsConfiguration

A type representing the units of measurement chosen for presenting values.

  • The unit of length in which distances should be presented. One of UnitLength.miles or UnitLength.kilometers.

    Declaration

    Swift

    public let distance: UnitLength
  • The unit of length in which heights should be presented. One of UnitLength.feet or UnitLength.meters.

    Declaration

    Swift

    public let height: UnitLength