Messgerät in Miles Swift konvertieren
extension CGFloat {
func getMiles() -> CGFloat{
return self * 0.000621371192
}
function getMeters() -> CGFloat {
return self * 1609.344
}
}
Mobile Star