Class YMKLocalizedValue

A value respecting the device locale.

Class Methods

Properties

text

Localized text.

value

Value in SI units for distance, speed and duration.

Method Detail

+localizedValueWithValue:text:

+ (nonnull YMKLocalizedValue *)localizedValueWithValue:(double)value
                                                  text:(nonnull NSString *)text 

Property Detail

text

(assign, readonly) NSString * text

Localized text.

For example: "15 ft" or "42 km".

value

(assign, readonly) double value

Value in SI units for distance, speed and duration.