# marcoarment/FCModel

An alternative to Core Data for people who like having direct SQL access.

Repository: https://github.com/marcoarment/FCModel
Canonical: https://ross.abutalabs.com/products/fcmodel
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2023-07-17T02:04:49+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4734, "days_push": 1144, "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 1641, forks 168 (observed 2026-08-28T04:05:15.302399+00:00)

## What it is
FCModel is an Objective-C model layer on top of SQLite, offering a Core Data-like convenience while allowing direct SQL access, custom schemas, indexes, and migrations. It maps SQLite tables to model subclasses with property-to-column associations and is used in production by the author's app Overcast.

## Use cases
- replace Core Data with direct SQLite access in an iOS app
- map SQLite tables to Objective-C model objects
- run raw SQL queries while keeping an object model layer
- control database schema, indexes, and migrations manually
- build a lightweight persistence layer for Mac or iOS apps

## When to choose
- you want Core Data convenience but full control over SQL, schemas, and performance
- your team prefers writing raw SQLite queries and migrations
- you need a simple, lightweight ORM-style layer in Objective-C

## When to avoid
- you want a fully supported, documented framework with stable API guarantees
- you need Swift-first or cross-platform persistence
- you prefer Core Data's ecosystem features like iCloud sync

## Facets
- artifact type: library
- maturity: maintenance
- function: orm, database, database-driver
- domain: databases, mobile-development, developer-tools
- platform: cpp
- tags: sqlite, core-data-alternative, objective-c, fmdb, model-layer, ios, macos

## Member repositories
- marcoarment/FCModel (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.302399+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-30T03:46:22.752747+00:00, confidence not recorded.
  - readme: https://github.com/marcoarment/FCModel (fetched 2026-08-28T04:05:15.302399+00:00, sha e4d75456ae7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
