Skip to content

AndyTung401/SwiftUI-Speedometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A app that shows your iPhone GPS data.

Key Features

  • Heading azimuth, Location coordinates (Lat&Lon), Speed, Acceleration, Accuracy
  • Compass&Speedometer animation
  • Speed/Acceleration graph with changable duration
  • Tap on the speed or the acceleration to change unit (Speed: km/h, m/s, mph; Acceleration: km/h*s, m/s^2, mph/s)
Speedometer Chart
3DE54853-D5D9-4A1B-ADF4-961C398E8E32 1BBC5FBC-3760-4D96-A9A4-C3D5F82F9517

Acceleration

Acceleration can be acquired by either calculation of speed changes or device motion data (CoreMotion)

Graph

The graph is rendered by SwiftUI Charts. The speed, acceleration data will be saved in a temporary array whose length is determined by a slider in order to send to the chart.

References

The CoreLocation codes refers to Andrew11US/AF-Swift-Tutorials and the CoreMotion codes refers to Asperi's answer on stack overflow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages