Ross ROSS = Recommend OSS · open-source software intelligence for agents

SwiftGen/SwiftGen

The Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs! observed · 2026-08-28

github.com/SwiftGen/SwiftGen · Swift · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 77
  • 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-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4067
  • days_rel: n/a
  • days_push: 139
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

9547 stars · 765 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

SwiftGen is a command-line code generator that produces type-safe Swift constants for project resources like asset catalogs, storyboards, fonts, colors, and localized strings. It uses customizable Stencil templates and helps eliminate String-based APIs and runtime crashes from typos.

Use cases

  • generate type-safe constants for iOS asset catalogs
  • avoid typos in localized strings lookups
  • generate Swift code for storyboards and XIBs
  • make UIColor and UIFont usage compiler-checked
  • customize code generation with Stencil templates
  • integrate resource code generation into Xcode build phase

When to choose

  • you develop iOS/macOS apps in Swift and want compile-time safety for assets and strings
  • your team wants auto-completion instead of String-based resource APIs
  • you need customizable code generation via templates

When to avoid

  • your project is not in Swift or not Apple-platform focused
  • you only need one-off code generation without template customization
  • you prefer runtime dynamic resource access over generated constants

Facets

cli-tool · maturity active

developer-tools cli developer-tools mobile-development cli swift ios type-safety stencil-templates asset-catalogs localization storyboards code-generator code-generation macos

1 source

Member repositories

RepositoryRoleHealth v2
SwiftGen/SwiftGenmain57

For agents

markdown · JSON · MCP: product_card(name="SwiftGen/SwiftGen")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem