xmartlabs/Eureka

MeasurementFormatter not support

miaoruiyuan opened this issue · 2 comments

let numberFormatter = MeasurementFormatter()
let km = Measurement<UnitLength>(value: 2000, unit: .kilometers)
formatter = numberFormatter

its will crash

override func getObjectValue(_ obj: AutoreleasingUnsafeMutablePointer<AnyObject?>?, for string: String, range rangep: UnsafeMutablePointer<NSRange>?)

How can I not use this protocol?

Have a look at #2047