MMKLocalizedValue
@interface MMKLocalizedValue : NSObject |
A value respecting the device locale.
Summary
Class methods
+ (nonnull MMKLocalizedValue *)localizedValueWithValue:( double)value |
Properties
@property (nonatomic, readonly) double value; |
@property (nonatomic, readonly, nonnull) NSString *text; |
Class methods
localizedValueWithValue:text:
+ (nonnull MMKLocalizedValue *)localizedValueWithValue:( double)value |
Properties
value
@property (nonatomic, readonly) double value; |
Value in SI units for distance, speed and duration.
text
@property (nonatomic, readonly, nonnull) NSString *text; |
Localized text. For example: "15 ft" or "42 km".