sebyddd/SDVersion
:iphone: Lightweight Cocoa library for detecting the running device's model and screen size. observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 59
- Release rhythm 31
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4376
- days_rel: 248
- days_push: 248
- n_releases_24m: 1
Adoption not part of the score
1306 stars · 210 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight Objective-C Cocoa library for detecting the running device's model, screen size, and OS version across iOS, iPadOS, watchOS, tvOS, and macOS. It provides simple enum-based checks for specific device models from iPhone 4 through iPhone 16 and Apple Silicon Macs.
Use cases
- detect which iPhone model my app is running on
- check device screen size in iOS app
- determine if the device is an iPad Pro with M4
- get the human-readable device name like iPhone 16 Pro Max
- check if the screen is in zoom mode
- compare the running iOS version against a minimum
- detect Apple Watch series or Apple TV model
- identify Apple Silicon Mac model in a macOS app
When to choose
- you need fine-grained device model or screen size detection on Apple platforms
- you want a tiny dependency with both Objective-C and Swift support
- you need coverage for the latest devices including iPhone 16 and M4 Macs
When to avoid
- you only need generic device capability checks available via UIKit/UIDevice
- you target non-Apple platforms
- you need device detection for analytics rather than behavior branching
Facets
library · maturity active
developer-tools sdk apple-ecosystem mobile-development developer-tools cross-platform cpp device-detection screen-size objective-c cocoapods swift-package-manager watchos tvos device-model ios macos swift
1 source
- readme: https://github.com/sebyddd/SDVersion · fetched 2026-08-28 · d97225916d32
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sebyddd/SDVersion | main | 57 |
For agents
markdown · JSON · MCP: product_card(name="sebyddd/SDVersion")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem