mac-cain13/R.swift
Strong typed, autocompleted resources like images, fonts and segues in Swift projects observed · 2026-10-21
Health v2 · maintenance only
26/100
- Activity 6
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4331
- days_rel: 714
- days_push: 567
- n_releases_24m: 1
Adoption not part of the score
9549 stars · 773 forks observed · 2026-10-21
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
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.
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
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
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
Facets
library · maturity active
developer-tools type-system mobile-development developer-tools swift xcode code-generator autocompletion resources type-safety ios watchos tvos code-generation macos
1 source
- readme: https://github.com/mac-cain13/R.swift · fetched 2026-10-21 · 608090be0ace
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mac-cain13/R.swift | main | 26 |
For agents
markdown · JSON · MCP: product_card(name="mac-cain13/R.swift")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem