- It's now possible to specify which chars should not be used when generating
case
identifiers.
@Igor-Palaguta, #34
- Installing via
rake install
orbrew install
will now copy the Swift dylibs too, so thatswiftgen
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.
- 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
andswiftgen colors
. Seeswiftgen --help
for more usage info.
- Fix color parsing with absent alpha
@Igor-Palaguta, #28
- Updated Unit tests for latest Swift 2.0 & tested against Xcode 7.1
- Fix small typos in code
- Guard against empty
enums
- Updated for Xcode 7 Beta 5
swiftgen-storyboard
now allows to take a path to a.storyboard
file as argument (as an alternative to give a path to a whole directory)- The
-v
and--version
flags are now recognized and print the executable version.
- Reorganized files into an Xcode project with one target per executable (#2)
- Added Unit Tests (one per executable + one for common code) (#2)
- Improved
SwiftGen-L10n
parsing of format strings and placeholders. (#4, #5, #6) - Updated
Rakefile
so that it now invokesxcodebuild install
. You can now easily build & install allswiftgen-xxx
executables in/usr/local/bin
or anywhere else. - Added a version string (date + sha1) to the built executables (displayed when invoked with no argument)
- Reducted the default code generated by
SwiftGenColorEnumBuilder
to avoid clobbering theUIColor
namespace - Changed the "namespacing
enum
" inUIStoryboard
to astruct
to avoid confusion with the inner enums - The
UIStoryboard.Scene
enums now usestatic func
instead ofstatic var
for the dedicatedViewController
constructors ^(†)
^(†) because it feels more explicit that calling a function like UIStoryboard.Scene.Wizard.validatePasswordViewController()
will actually instanciate a new ViewController
, rather than returning an existing one.
- Added
Segues
enums toUIStoryboard
to be able to access their identifiers easily.
@esttorhe, #8 - Added this very
CHANGELOG.md
Considered to be the first cleaned-up version, far from finished but really usable with clean code.
- Cleaner README
- Namespace the generated
enums
in an outerenum
to avoid clobbering theUIStoryboard
namespace
- Introducing
SwiftGenColorEnumBuilder
swiftgen-colors
CLI- Added ability to choose indentation
- Introducing
SwiftGenL10nEnumBuilder
swiftgen-l10n
CLI- Started playing with
UIColor
enums in the playground
- Introducing
SwiftGenStoryboardEnumBuilder
class swiftgen-storyboard
CLI
Initial version:
- Mostly testing stuff in a playground
- Introducing
SwiftGenAssetsEnumBuilder
class swiftgen-assets
CLI