rswift
« Back to VersTracker
Description:
Get strong typed, autocompleted resources like images, fonts and segues
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @mac_cain13  |  formulae.brew.sh
Category: Developer tools
Tags: ios swift xcode code-generation resources
Install: brew install rswift
About:
Rswift generates Swift code for accessing resources with type safety, eliminating string-based access to assets like images, fonts, and view controllers. It integrates into the build process to provide autocompletion in Xcode, reducing runtime crashes caused by typos. This tool streamlines resource management in iOS and macOS development.
Key Features:
  • Type-safe resource access
  • Xcode autocompletion support
  • Automatic code generation during builds
  • Supports images, fonts, colors, segues, and more
Use Cases:
  • iOS and macOS app development
  • Refactoring legacy code using string-based resource references
  • Improving code safety and maintainability
Alternatives:
  • SwiftGen – Similar functionality with modular generators, but requires separate configuration for each resource type
  • Xcode Asset Catalogs – Native solution with less type safety and no code generation for non-image resources
Version History
Detected Version Rev Change Commit
Sep 15, 2025 11:29pm 0 VERSION_BUMP 2052ad5b
Sep 20, 2024 12:10am 0 VERSION_BUMP 1c4f87ef