# erica/uidevice-extension

Add functionality to UIDevice to distinguish between platforms like iPod touch 1G and 2G and iPhone

Repository: https://github.com/erica/uidevice-extension
Canonical: https://ross.abutalabs.com/products/uidevice-extension
Language: Objective-C
License Family: other
Last push: 2021-08-11T11:03:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6359, "days_push": 1848, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1515, forks 453 (observed 2026-08-28T04:04:56.488784+00:00)

## What it is
An Objective-C category extending UIDevice to identify the specific iOS hardware platform, distinguishing between devices like iPod touch 1G/2G and iPhone models. The README now directs users to the Cookbook versions instead, indicating the repository is deprecated.

## Use cases
- detect which iphone model my app is running on
- distinguish ipod touch 1g from 2g in ios app
- get device platform identifier in objective-c
- extend uidevice with hardware model info
- check device generation at runtime on ios

## When to choose
- maintaining a legacy Objective-C iOS app that already uses this category
- you need simple device model detection on very old iOS versions

## When to avoid
- starting a new iOS project - use modern APIs like uname/sysctl or the Cookbook instead
- you need maintained, supported device detection code
- your project requires a permissive license - this repo has none

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, developer-tools
- domain: developer-tools, hardware
- platform: cpp
- tags: uidevice, device-identification, objective-c, ios-hardware, deprecated, ios-tools, ios, swift

## Member repositories
- erica/uidevice-extension (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.488784+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:08.902672+00:00, confidence not recorded.
  - readme: https://github.com/erica/uidevice-extension (fetched 2026-08-28T04:04:56.488784+00:00, sha 53f6d2cf341a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
