SwiftGen-Colors v2.0.0 Release Notes
-
- 🛠 Fix issue with txt files bailing on comments.
Derek Ostrander #140 - ➕ Added support for tvOS and watchOS in images, fonts and color templates.
Tom Baranes #145 - ➕ Added enum-based structured identifiers via
-t structured
option.
Cihat Gündüz #148 - ➕ Added support for OSX in storyboards.
Tom Baranes #131
Note: The
Stencil
context keys (the name of the variables used in templates) for storyboard has changed a bit. 👀 Especially,class
has been renamed intocustomClass
(see #131) to better describe the intent (as this isn't defined if there is no custom class set in the Storyboard), and 🆕 new keysisBaseViewController
andbaseType
has been added.This means that if you did implement your own custom templates for storyboards (instead of using the bundled ones), you'll have to remplace
{{class}}
by{{customClass}}
in those storyboard templates, otherwise they'll probably stop working as expected. That's the main reason why the version has been bumped to a major version 2.0.0. - 🛠 Fix issue with txt files bailing on comments.