# ibireme/YYModel

High performance model framework for iOS/OSX.

Repository: https://github.com/ibireme/YYModel
Canonical: https://ross.abutalabs.com/products/yymodel
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2022-12-21T11:22:17+00:00

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

## Adoption (not part of the score)
Stars 4349, forks 923 (observed 2026-08-28T04:08:46.257630+00:00)

## What it is
YYModel is a high-performance JSON-to-model conversion framework for iOS and macOS written in Objective-C. It converts between JSON/dictionaries and native model objects with automatic type conversion, type safety, and no need for base-class inheritance.

## Use cases
- convert JSON API responses into Objective-C model objects
- serialize model objects back to JSON dictionaries
- map nested JSON structures to nested model classes
- automatically convert types like strings to dates or numbers
- replace slow reflection-based JSON mapping with a faster library
- parse JSON into models without inheriting from a base class

## When to choose
- you are building an iOS or macOS app in Objective-C or Swift that consumes JSON APIs
- you need extremely fast JSON-to-model conversion close to handwritten performance
- you want a lightweight, non-intrusive library with only a few files
- you need robust automatic type conversion between JSON and Objective-C types

## When to avoid
- you are not targeting Apple platforms
- you prefer Swift-native Codable for JSON handling in a pure Swift codebase
- you need cross-platform serialization beyond iOS/macOS
- the project requires actively maintained dependencies with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, developer-tools
- domain: mobile-development, developer-tools, apis
- platform: cpp
- tags: -to-model, objective-c, model-mapping, cocoapods, high-performance, ios, macos, swift

## Member repositories
- ibireme/YYModel (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.257630+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-29T18:21:33.321938+00:00, confidence not recorded.
  - readme: https://github.com/ibireme/YYModel (fetched 2026-08-28T04:08:46.257630+00:00, sha e6a08e532662)
- Data as of 2026-08-30T08:39:29.467469+00:00.
