MeasurementFormatter not support
miaoruiyuan opened this issue · 2 comments
miaoruiyuan commented
let numberFormatter = MeasurementFormatter()
let km = Measurement<UnitLength>(value: 2000, unit: .kilometers)
formatter = numberFormatter
its will crash
miaoruiyuan commented
override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?)
How can I not use this protocol?
mats-claassen commented
Have a look at #2047