MeasurementFormatter

public extension MeasurementFormatter

Extension for MeasurementFormatter.

  • Returns a MeasurementFormatter for displaying units using current locale.

    Declaration

    Swift

    static let currentMediumUnitFormatter: MeasurementFormatter
  • Returns a MeasurementFormatter for reading units using current locale.

    Declaration

    Swift

    static let currentLongUnitFormatter: MeasurementFormatter