ComposableCoreMotion Documentation

Structures

Headphone​Motion​Manager

A wrapper around Core Motion's CMHeadphoneMotionManager that exposes its functionality through effects and actions, making it easy to use with the Composable Architecture, and easy to test.

Accelerometer​Data

A data sample from the device's three accelerometers.

Attitude

The device's orientation relative to a known frame of reference at a point in time.

Device​Motion

Encapsulated measurements of the attitude, rotation rate, and acceleration of a device.

Gyro​Data

A single measurement of the device's rotation rate.

Magnetometer​Data

Measurements of the Earth's magnetic field relative to the device.

Motion​Manager

A wrapper around Core Motion's CMMotionManager that exposes its functionality through effects and actions, making it easy to use with the Composable Architecture, and easy to test.

Motion​Manager.​Properties

Enumerations

Headphone​Motion​Manager.​Action

Actions that correspond to CMHeadphoneMotionManagerDelegate methods.

Functions

_unimplemented(_:​file:​line:​)