Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@AliSoftware AliSoftware released this 12 Aug 17:15
· 134 commits to master since this release

This tag aligns with the templates bundled with SwiftGen 5.0.0

Bug Fixes

  • Fixed swiftlint errors for the latest version.
    David Jennes
    #46
  • Images: fixed issue with catalogs that have an empty folder.
    David Jennes
    #51
  • Fonts: fixed font registration mechanism, which was broken in some situations.
    David Jennes
    #58

Breaking Changes

  • Templates are now organized in subdirectories for each command.
    David Jennes
    #13
  • Update templates to use the Stencil built-in join filter instead of our own.
    David Jennes
    #22
  • Many deprecated templates have been removed, and others have been renamed to reflect new behaviours. We've prepared a migration guide which you can find here: Documentation/MigrationGuide.
    David Jennes
    #47
  • Since Swift 2 is no longer actively supported, we now consider those templates as "legacy" and cannot guarantee that there won't be issues with the generated code.
    David Jennes
    #53
  • The iOS and macOS storyboard templates have been unified into one. The generated code also no longer uses enum cases for scenes but instead uses a generic struct. See the documentation for some examples.
    David Jennes
    #57
  • The code generated by SwiftGen 5's storyboard templates is not retro-compatible with the one previously generated by SwiftGen 4.x. You'll find all the details with steps for adapting your codebase to the new API in the migration guide. We've also provided a compatibility template in the wiki to make that migration easier and automatable.
    Olivier Halligon
    #65

New Features

  • Strings: the templates have been updated to support multiple string tables.
    David Jennes
    #49
  • Colors: the templates have been updated to support multiple color palettes.
    David Jennes
    #55

Internal Changes