{"adoption": {"forks": 776, "observed_at": "2026-08-28T04:10:31.912624+00:00", "stars": 9560}, "canonical_url": "https://ross.abutalabs.com/products/rswift", "card": {"archived": false, "artifact_type": "library", "description": "Strong typed, autocompleted resources like images, fonts and segues in Swift projects", "domain": ["mobile-development", "developer-tools"], "enriched": true, "function": ["developer-tools", "type-system"], "health_score": 38, "homepage": null, "language": "Swift", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mac-cain13/R.swift"], "name": "mac-cain13/R.swift", "platform": [], "pushed_at": "2025-04-01T13:18:36+00:00", "repo": "mac-cain13/R.swift", "stars": 9560, "tags": ["swift", "xcode", "code-generator", "autocompletion", "resources", "type-safety", "ios", "watchos", "tvos", "code-generation", "macos"], "topics": ["swift", "ios", "watchos", "tvos", "code-generator", "autocompletion", "xcode", "resources"], "urls": [], "use_cases": ["access iOS images and fonts with type-safe autocompletion instead of string names", "catch invalid resource name references at compile time in Swift apps", "generate typed accessors for storyboards, segues, and nibs in Xcode projects", "manage localized strings without stringly-typed NSLocalizedString calls", "avoid runtime crashes from renamed or missing assets in iOS apps"], "what_it_is": "R.swift is a code generation tool for Swift projects that generates strongly typed, autocompleted accessors for resources like images, fonts, colors, localized strings, storyboards, segues, and nibs. It replaces stringly-typed resource lookups with compile-time checked code, preventing runtime crashes from incorrect resource names.", "when_to_avoid": ["you develop for platforms outside Apple's ecosystem (Android, web, server-side)", "you use SwiftUI exclusively with asset catalogs and don't need generated accessors", "your project is small enough that string-based resource lookup overhead is negligible"], "when_to_choose": ["you develop iOS, tvOS, or watchOS apps in Swift and want compile-time checked resource access", "your team suffers from runtime crashes due to mistyped asset or storyboard names", "you want IDE autocompletion for images, fonts, colors, and localized strings"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/rswift", "repo": "mac-cain13/R.swift", "role": "main", "score": 40}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:31.912624+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:21:57.166274+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "608090be0acef0acedeb8c6088deeb7e3b8ca47b09798073aafcd57ac6e3fc02", "fetched_at": "2026-08-28T04:10:31.912624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mac-cain13/R.swift"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 14, "longevity": 100, "rhythm": 40}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4283, "days_push": 519, "days_rel": 666, "gap_med": 12, "n_releases_24m": 4}, "score": 40, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}