# wickwirew/Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.

Repository: https://github.com/wickwirew/Runtime
Canonical: https://ross.abutalabs.com/products/wickwirew-runtime
Language: Swift
License: MIT
License Family: permissive
Topics: swift, ios, reflection, runtime, swift4
Last push: 2024-06-04T13:03:55+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": 3225, "days_push": 820, "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 1162, forks 95 (observed 2026-08-28T04:03:49.496037+00:00)

## What it is
A Swift runtime reflection library that exposes type metadata, dynamic property getting/setting, instance construction, and function metadata for native Swift types. It works typelessly with structs, classes, enums, tuples, and protocols.

## Use cases
- inspect Swift type metadata at runtime
- dynamically get and set properties on objects
- construct instances of structs and classes dynamically
- serialize and deserialize objects via reflection
- introspect function signatures and argument types
- build generic mapping or ORM-like tooling in Swift

## When to choose
- you need reflection capabilities Swift lacks natively
- building serialization, mapping, or dependency injection frameworks in Swift
- working on iOS/macOS apps needing dynamic property access

## When to avoid
- you only need Codable for serialization
- performance-critical hot paths where reflection overhead matters
- targeting platforms outside Apple ecosystems

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, developer-tools
- domain: developer-tools, programming-languages
- platform: cross-platform
- tags: reflection, runtime-metadata, swift, type-info, dynamic-properties, ios, macos

## Member repositories
- wickwirew/Runtime (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.496037+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-30T06:31:40.087538+00:00, confidence not recorded.
  - readme: https://github.com/wickwirew/Runtime (fetched 2026-08-28T04:03:49.496037+00:00, sha ecaf6a81ac28)
- Data as of 2026-08-30T08:39:29.467469+00:00.
