Closed miaoruiyuan closed 2 years ago
let numberFormatter = MeasurementFormatter() let km = Measurement<UnitLength>(value: 2000, unit: .kilometers) formatter = numberFormatter
let numberFormatter = MeasurementFormatter()
let km = Measurement<UnitLength>(value: 2000, unit: .kilometers)
formatter = numberFormatter
its will crash
let numberFormatter = MeasurementFormatter()
let km = Measurement<UnitLength>(value: 2000, unit: .kilometers)
formatter = numberFormatter
its will crash