MHaroonBaig/MotionKit
Get the data from Accelerometer, Gyroscope and Magnetometer in only Two or a few lines of code. CoreMotion now made insanely simple :octocat: :satellite: observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4218
- days_rel: n/a
- days_push: 3040
- n_releases_24m: 0
Adoption not part of the score
1081 stars · 130 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MotionKit is a Swift wrapper around Apple's CoreMotion framework that simplifies retrieving accelerometer, gyroscope, magnetometer, and device motion data on iOS. It exposes a clean closure- and delegate-based API so developers can get sensor values in just a few lines of code, compatible with both Swift and Objective-C.
Use cases
- read accelerometer data in iOS with minimal code
- get gyroscope values from an iPhone app
- access magnetometer readings via CoreMotion
- retrieve processed device motion data instead of raw sensor values
- simplify CoreMotion usage in Swift or Objective-C
- stream motion sensor updates asynchronously in an iOS app
When to choose
- you want a simple, concise API over CoreMotion for accelerometer, gyroscope, or magnetometer data
- you need Swift and Objective-C compatibility for motion sensor access
- you prefer closure- or delegate-based asynchronous sensor updates
When to avoid
- you need actively maintained or updated sensor libraries (last release was 2018)
- you target platforms other than iOS
- you need advanced CoreMotion features not exposed by the wrapper
Facets
library · maturity abandoned
sdk developer-tools mobile-development coremotion accelerometer gyroscope magnetometer motion-data wrapper sensors ios swift mobile
1 source
- readme: https://github.com/MHaroonBaig/MotionKit · fetched 2026-08-28 · 8b3738af1653
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MHaroonBaig/MotionKit | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="MHaroonBaig/MotionKit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem