All Versions
56
Latest Version
Avg Release Cycle
88 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v1.1.0 Changes
- ➕ Added step to ensure all templates are Swiftlint'ed
and don't violate any code style rule.
Olivier Halligon AJ9 #80 - ➕ Added support for OSX in images, fonts and color templates.
Tom Baranes #125 #126 #127 - ➕ Added missing FontConvertible protocol conformance to default fonts template.
Ben Chatelain #129
- ➕ Added step to ensure all templates are Swiftlint'ed
and don't violate any code style rule.
-
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 fontscommand.
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
- ↪ Restructured colors & fonts templates to workaround the same LLVM issue as #112 with nested types
inside existing UIKit classes in Release/Optimized builds.
-
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 theswiftgen colorssubcommand.
Derek Ostrander - 👉 Use
String(format:locale:arguments:)and theNSLocale.currentLocale()in the "string" templates so that it works with.stringdictfiles and pluralization.
Olivier Halligon #91 - ➕ Add support for Android
colors.xmlfiles as input for theswiftgen colorssubcommand.
Olivier Halligon #15 - ✂ Removed the useless
import Foundationfrom the "images" templates.
Olivier Halligon - ➕ Added computed property
var color: UIColorto the color templates.
Olivier Halligon
- 👀 Introducing alternative way to install SwiftGen: using CocoaPods! See README for more details.
-
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.stencilhad to be modified, so make sure to update your codebase accordingly.
Pan Kolega #83 - 🛠 Fixed issue in
Rakefilewhen trying to install viarakein a path containing~.
Jesse Armand #88
- 🛠 Fixed build loop by changing SwiftGen to only write to the output file if the generated code is different from the file contents.
-
v0.7.5 Changes
✨ Enhancements
- ⚡️ Updated stencils and unit tests to pass SwiftLint.
Adam Gask #79 - ⚡️ Updated
storyboards-default.stencilto better avoid name confusions.
Olivier Halligon- Now
casesnames are suffixed with…Sceneandstatic funcare prefixed withinstantiate…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
- Now
- ➕ Added support for
*.clrfiles (files to storeNSColorList's presented in Color Picker on "Color Palettes" tab).
Ilya Puchka #81
- ⚡️ Updated stencils and unit tests to pass SwiftLint.
-
v0.7.4 Changes
✨ Enhancements
- ➕ Added View Controller Placeholders support.
Viacheslav Karamov #61
- ➕ Added View Controller Placeholders support.
-
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>andStoryboardSegue.<Storyboard>.<Segue> - ↪ Restructured storyboard templates to work around an LLVM issue with nested types.
-
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 thestring.translationvariable.
@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 Changes
🛠 Fixes
- 🛠 Fix issue with
swiftgen stringsthat were using the colors templates instead of the strings template by default.
@ChristopherRogers #54
- 🛠 Fix issue with
-
v0.7.0 Changes
✨ Enhancements
- Allow using custom templates by name.
#42 #50- Now the
-tflag expect a template name (defaults todefault), and will search a matching template inApplication Supportfirst, then in the templates bundled with SwiftGen. - You can still specify a template by path using
-p. - For more info, see this dedicated documentation.
- Now the
- You can now list all templates available (both bundled templates and custom ones) using the
swiftgen templatescommand.
#42 #50 - ➕ Add a
performSegue(_:sender:)extension onUIViewControllerto accept aStoryboardSegueas parameter.
You can now for example callvc.performSegue(UIStoryboard.Segue.Wizard.ShowPassword).
#37
0️⃣ SwiftGen now comes bundled with some alternate templates, especially
colors-rawValue,images-allvaluesandstoryboards-lowercase, in addition to the default templates.🛠 Fixes
- Now
swiftgen storyboardsdoesn'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-allvaluestemplate that exposes the list of all images in astatic let allValuesarray.
Ahmed Mseddi & Guillaume Lagorce #44 - 🛠 Fix issue with Storyboards without any StoryboardID (all scenes being anonymous) not extending
StoryboardScene.
#36
- Allow using custom templates by name.