DistanceUnits
public enum DistanceUnits
DistanceUnits Representation of units usually used to express distance in a region
- FeetMiles in the US
- YardsMiles in UK, Liberia, and Myanmar
- MetersKilometers in the rest of the world
-
Declaration
Swift
case metersKilometers
-
Declaration
Swift
case yardsMiles
-
Declaration
Swift
case feetMiles
-
Declaration
Swift
public static func getDefault() -> DistanceUnits