What is SwiftGen?

SwiftGen is a tool to auto-generate Swift code for resources of your projects, to make them type-safe to use.

There are multiple benefits in using this:

  • Avoid any typo you could have when using a String
  • Free auto-completion
  • Avoid the risk to use an non-existing asset name
  • All this will be ensured by the compiler.

Also, it’s fully customizable thanks to Stencil templates, so even if it comes with predefined templates, you can make your own to generate whatever code fits your needs and your guidelines!

Overview

  • Pricing: Free
  • Resource Link: https://github.com/SwiftGen/SwiftGen#uicolor
  • Resource Maker: SwiftGen
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: SwiftGen