All Versions
51
Latest Version
Avg Release Cycle
88 days
Latest Release
143 days ago

Changelog History
Page 4

  • v0.7.4

    โœจ Enhancements

  • v0.7.3

    ๐Ÿ›  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

    โœจ 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.
      #56
  • v0.7.1

    ๐Ÿ›  Fixes

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

    โœจ 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).
      #37

    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.
      #36
  • v0.6.0

    ๐Ÿ†• New Features: Templates

    • SwiftGen now uses Stencil template engine to produce the generated code.
    • This means that the generate code will be easier to improve.
    • This also means that you can use your own templates to generate code that better suits your needs and preferences, using swiftgen โ€ฆ --template FILE โ€ฆ.

    ๐Ÿ›  Fixes

    • The correct type of ViewController (UIViewController, UINavigationController, UITableViewController, โ€ฆ) is now correctly generated even if not a custom subclass.
      #40
    • ๐Ÿ›  Fix issue with .strings files encoded in UTF8.
      #21
  • v0.5.2

    ๐Ÿ†• New Features

    • It's now possible to specify which chars should not be used when generating case identifiers.
      @Igor-Palaguta #34
  • v0.5.1

    ๐Ÿ›  Fixes

    • Installing via rake install or brew install will now copy the Swift dylibs too, so that swiftgen installation won't depend on the location of your Xcode.app (so it'll work on every machine even if you rename your Xcode).
    • ๐Ÿ›  Fixed links in Playground and Licence headers in source code.
  • v0.5.0

    ๐Ÿ†• New Features

    • ๐Ÿ“œ Migrating to Commander to parse the CLI arguments.
      23 #30
    • swiftgen is now a single binary, and the subcommand names have changed to be more consistent.
      #30
    • ๐Ÿ†• New --output option.
      #30

    ๐Ÿ‘€ > You must now use the subcommands swiftgen images, swiftgen strings, swiftgen storyboards and swiftgen colors. See swiftgen --help for more usage info.

    ๐Ÿ›  Fixes

  • v0.4.4

    • โšก๏ธ Updated Unit tests for latest Swift 2.0 & tested against Xcode 7.1
    • ๐Ÿ›  Fix small typos in code
    • Guard against empty enums