All Versions
Latest Version
Avg Release Cycle
88 days
Latest Release

Changelog History
Page 4

  • v1.1.0 Changes

  • v1.0.0 Changes

    • ↪ Restructured colors & fonts templates to workaround the same LLVM issue as #112 with nested types inside existing UIKit classes in Release/Optimized builds.
      Olivier Halligon
    • ➕ Added support for Fonts using the swiftgen fonts command.
      Derek Ostrander #102
    • ➕ Added support for TXT (colors.txt) files to have named value.
      Derek Ostrander #118
    • ↪ Restructured image templates to work around an LLVM issue with nested types.
      Ken Grigsby #112
    • ➕ Added Swift 3 templates for storyboards and strings.
      Andrew Breckenridge #117
  • v0.8.0 Changes

    • 👀 Introducing alternative way to install SwiftGen: using CocoaPods! See README for more details.
      Olivier Halligon #95
    • ➕ Added support for JSON (colors.json) files as input for the swiftgen colors subcommand.
      Derek Ostrander
    • 👉 Use String(format:locale:arguments:) and the NSLocale.currentLocale() in the "string" templates so that it works with .stringdict files and pluralization.
      Olivier Halligon #91
    • ➕ Add support for Android colors.xml files as input for the swiftgen colors subcommand.
      Olivier Halligon #15
    • ✂ Removed the useless import Foundation from the "images" templates.
      Olivier Halligon
    • ➕ Added computed property var color: UIColor to the color templates.
      Olivier Halligon
  • v0.7.6 Changes

    ✨ Enhancements
    • 🛠 Fixed build loop by changing SwiftGen to only write to the output file if the generated code is different from the file contents.
      Mathias Nagler #90
    🛠 Fixes
    • Fixed typos in code and descriptions: instanciate -> instantiate. Please note that the default template used for storyboards storyboards-default.stencil had to be modified, so make sure to update your codebase accordingly.
      Pan Kolega #83
    • 🛠 Fixed issue in Rakefile when trying to install via rake in a path containing ~.
      Jesse Armand #88
  • v0.7.5 Changes

    ✨ Enhancements
    • ⚡️ Updated stencils and unit tests to pass SwiftLint.
      Adam Gask #79
    • ⚡️ Updated storyboards-default.stencil to better avoid name confusions.
      Olivier Halligon
      • Now cases names are suffixed with …Scene and static func are prefixed with instantiate… to lower the risks of a name conflict with your ViewController classes.
      • The old template is still available but has been renamed storyboards-uppercase.stencil
    • ➕ Added support for *.clr files (files to store NSColorList's presented in Color Picker on "Color Palettes" tab).
      Ilya Puchka #81
  • v0.7.4 Changes

    ✨ Enhancements
  • v0.7.3 Changes

    🛠 Fixes
    • ↪ Restructured storyboard templates to work around an LLVM issue with nested types.
      Ryan Booker #57

    Scenes and Segues are now referenced via StoryboardScene.<Storyboard> and StoryboardSegue.<Storyboard>.<Segue>

  • v0.7.2 Changes

    ✨ Enhancements
    • ➕ Adding comments to generated color enums which allow you to see the color in the QuickHelp documentation.

    • 📚 The default translation of strings are now added as documentation comments to the enum cases.
      You can add translations to your own templates by using the string.translation variable.
      @MrAlek #58 #60

    🛠 Fixes
    • 🛠 Fix an issue with the colors template due to an Apple Bug when building in Release and with WMO enabled.
  • v0.7.1 Changes

    🛠 Fixes
    • 🛠 Fix issue with swiftgen strings that were using the colors templates instead of the strings template by default.
      @ChristopherRogers #54
  • v0.7.0 Changes

    ✨ Enhancements
    • Allow using custom templates by name.
      #42 #50
      • Now the -t flag expect a template name (defaults to default), and will search a matching template in Application Support first, then in the templates bundled with SwiftGen.
      • You can still specify a template by path using -p.
      • For more info, see this dedicated documentation.
    • You can now list all templates available (both bundled templates and custom ones) using the swiftgen templates command.
      #42 #50
    • ➕ Add a performSegue(_:sender:) extension on UIViewController to accept a StoryboardSegue as parameter.
      You can now for example call vc.performSegue(UIStoryboard.Segue.Wizard.ShowPassword).

    0️⃣ SwiftGen now comes bundled with some alternate templates, especially colors-rawValue, images-allvalues and storyboards-lowercase, in addition to the default templates.

    🛠 Fixes
    • Now swiftgen storyboards doesn't generate duplicate enum cases for identical segues (those having equal identifiers and shared custom class).
      @filwag #43
    • 🛠 Fix compilation issue for storyboards without any scene.
      Viacheslav Karamov #47
    • Propose an alternate template using lowercase names, especially for when storyboard identifiers match view controller class names.
      Viacheslav Karamov #48
    • Introduced an image-allvalues template that exposes the list of all images in a static let allValues array.
      Ahmed Mseddi & Guillaume Lagorce #44
    • 🛠 Fix issue with Storyboards without any StoryboardID (all scenes being anonymous) not extending StoryboardScene.