ios-samples/MotionGraphs
Rolf Bjarne Kvinge c48c4d648c
Add .editorconfig and fix formatting accordingly. (#471)
The new .editorconfig is copied from the one in xamarin/xamarin-macios.

Formatting was fixed using 'dotnet format whitespace --folder .'
2023-02-17 14:55:43 +01:00
..
MotionGraphs Add .editorconfig and fix formatting accordingly. (#471) 2023-02-17 14:55:43 +01:00
Screenshots [MotionGraphs]adding metadata and updating for ios7 2013-11-05 16:21:17 +00:00
Metadata.xml Add brief description tag to metadata.xml 2015-03-23 18:03:04 +03:00
MotionGraphs.sln Added the following iOS samples: FrogScroller, LineLayout, MediaNotes, MotionGraphs, OpenGLScroller, PinchIt, PokerNightVoting, Calendars 2012-09-19 14:07:44 -04:00
README.md update readme, fix links 2019-07-23 13:26:12 -07:00

README.md

name description page_type languages products urlFragment
Xamarin.iOS - MotionGraphs This is a port of the WWDC2012 sample. MotionGraphs is an application project that demonstrates a how to use the push method to receive data from... sample
csharp
xamarin
motiongraphs

MotionGraphs

This is a port of the WWDC2012 sample.

MotionGraphs is an application project that demonstrates a how to use the push method to receive data from Core Motion. It displays graphs of accelerometer, gyroscope and device motion data.

The project has the following classes:

  • GraphView — A UIView subclass that provides the ability to plot accelerometer, gyroscope or device motion data. This is the same GraphView as the one in the AccelerometerGraph sample.
  • GraphViewController — A view controller that handles the display of accelerometer, gyroscope, and device motion data. Depending on the argument that is passed into its constructor it can display graph(s) generated from one of the three data types.
  • AppDelegate — A standard implementation of the UIApplicationDelegate protocol.

If you run the compiled application on a device that does not have a gyroscope, no gyroscope or device motion data will be available. You cannot effectively run the application on the simulator.

App showing chart of motion data