SwiftGen-Storyboard v4.1.0 Release Notes
-
๐ New Features
- โ Added a script reference to simplify and automate localization of existing non localized project.
HuguesBR - โ Added a
storyboards-osx-swift3
template.
Felix Lisczyk #225 - โ Added a
strings-no-comments-swift3
template that does not include the default translation of each key.
Loรฏs Di Qual #222 - Images: new dot-syntax template, use
dot-syntax-swift3
ordot-syntax
(for Swift 2.3).
David Jennes #206 - Reworked the "dot-syntax" and "structured" templates to use the new
macro
andcall
tags, which greatly simplifies the templates, and also removes the limitation of 5-level deep structures.
David Jennes #237 - Storyboards: automatically detect the correct modules that need to be
imported. The
--import
option has therefore been deprecated, as well as theextraImports
template variable. Instead use the the newmodules
variable, which offers the same functionality.
David Jennes #243 - ๐ Support multiple input paths for some commands.
David Jennes #213fonts
accepts multiple input directories, all found fonts will be added to thefamilies
template variable.images
now supports multiple asset catalogs as input. Templates can now use thecatalogs
variable to access each individual catalog.storyboards
accepts multiple paths (to folders orstoryboard
files). All found storyboards will be available in thestoryboards
template variable.
๐ Bug Fixes
- Strings: fix issue with
dot-syntax-swift3
where function definitions were not Swift 3 guidelines compliant.
David Jennes #241 #247 - Snake cased keys with uppercase letters are correctly camel cased again.
Cihat Gรผndรผz #226 #233
Internal changes
- ๐ Better error handling in the
colors
command.
David Jennes #227 - ๐ Stencil: added two new tags
macro
andcall
, see the documentation. for in depth explanations on how to use them.
David Jennes #237 - SwiftLint: Remove
switch_case_on_newline
warning for generated color file.
Mickael Titeca #239 - โ
Stencil: better string filter testing and fixed a small issue with
lowerFirstWord
.
David Jennes #245
- โ Added a script reference to simplify and automate localization of existing non localized project.