devicekit/DeviceKit
DeviceKit is a value-type replacement of UIDevice. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 83
- Release rhythm 49
- 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: 172
- age_days: 4210
- days_rel: 183
- days_push: 103
- n_releases_24m: 4
Adoption not part of the score
4728 stars · 464 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
DeviceKit is a Swift library providing a value-type replacement for Apple's UIDevice class. It offers device identification, family detection, simulator detection, battery metrics, and various hardware capabilities for iOS, tvOS, and watchOS apps.
Use cases
- detect which iPhone or iPad model the app is running on
- check battery level and battery state in an iOS app
- determine if code is running on a simulator
- detect available biometric sensors like Touch ID or Face ID
- get screen size, PPI, and display metrics
- check available disk space at runtime
- detect Low Power Mode or Guided Access sessions
- identify Apple Pencil support
When to choose
- you need device model identification beyond what UIDevice exposes
- you want a Swifty, value-type API instead of UIDevice's singleton
- you need simulator detection for testing or analytics
- you support iOS, tvOS, or watchOS and need unified device info
When to avoid
- you only need basic UIDevice information and don't mind the class-based API
- you target platforms outside Apple's ecosystem
- you need runtime hardware queries not covered by DeviceKit's feature list
Facets
library · maturity stable
sdk developer-tools mobile-development developer-tools uidevice device-identification simulator-detection battery value-type tvos watchos ios swift mobile
1 source
- readme: https://github.com/devicekit/DeviceKit · fetched 2026-08-28 · 72dc04eeeaa0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| devicekit/DeviceKit | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="devicekit/DeviceKit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem