Locale
extension Locale
-
Given the app’s localized language setting, returns a string representing the user’s localization.
Declaration
Swift
public static var preferredLocalLanguageCountryCode: String { get } -
Returns a
LocalefrompreferredLocalLanguageCountryCode.Declaration
Swift
public static var nationalizedCurrent: Locale -
Declaration
Swift
public static var usesMetric: Bool { get } -
Declaration
Swift
public var usesMetric: Bool { get } -
Declaration
Swift
public var measuresDistancesInMetricUnits: Bool { get }
Install in Dash
Locale Extension Reference