Skip to content

5.1.0

Compare
Choose a tag to compare
@AliSoftware AliSoftware released this 20 Aug 18:54

Changes in other SwiftGen modules

New Features

  • Added Swift 4 templates. Use -t swift4 or whatever variant you want to use
    (see swiftgen templates list for the available names).
    David Jennes
    SwiftGen/templates/#67
  • XCAssets: Added support for named colors. When using swiftgen xcassets the bundled templates will now also include colors found in the Asset Catalog in addition to the images.
    David Jennes
    SwiftGen/templates/#68
  • Fonts: the path to fonts will now default to just the font filename, but you can disable
    this behaviour by enabling the preservePath parameter.
    David Jennes
    SwiftGen/templates/#71
  • Colors: new template that uses #colorLiterals.
    Use swiftgen colors -t literals-swift3 / swiftgen colors -t literals-swift4 to use them.
    David Jennes
    SwiftGen/templates/#72