YMKLocalizedValue

class YMKLocalizedValue : NSObject

A value respecting the device locale.

Summary

Class methods

 init(value: Double, text: String)

Properties

var value: Double { get }
Value in SI units for distance, speed and duration

var text: String { get }
Localized text

Class methods

init(value:text:)

 init(value: Double, text: String)


Properties

value

var value: Double { get }

Value in SI units for distance, speed and duration.


text

var text: String { get }

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


Предыдущая
Следующая