YRTI18nPrefs

class YRTI18nPrefs : NSObject

Localization preferences.

Summary

Class methods

class func i18nPrefs(withSom som: YRTSystemOfMeasurement,
                      timeFormat: YRTTimeFormat) -> YRTI18nPrefs

Properties

var somYRTSystemOfMeasurement { get }
System of measurement (metric or imperial)

var timeFormatYRTTimeFormat { get }
Time format (12- or 24-hour)

Class methods

i18nPrefs(withSom:timeFormat:)

class func i18nPrefs(withSom som: YRTSystemOfMeasurement,
                      timeFormat: YRTTimeFormat) -> YRTI18nPrefs


Properties

som

var som: YRTSystemOfMeasurement { get }

System of measurement (metric or imperial).


timeFormat

var timeFormat: YRTTimeFormat { get }

Time format (12- or 24-hour).


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