A formatter that provides localized representations of distance units and measurements.
This class is limited toSee more
UnitLengthand its behavior is more specific to distances than
MeasurementFormatter. By default, the class automatically localizes and rounds the measurement using
Locale.nationalizedCurrent. Measurements can be formatted into either strings or attributed strings.
open class DistanceFormatter : Formatter, NSSecureCoding