Originate / OriginateTheme

OriginateTheme is a lightweight user interface theming framework.
MIT License
5 stars 0 forks source link

Write Theme Implementation Files Generator to Output Swift #9

Open rweindl opened 7 years ago

pkluz commented 7 years ago

Currently the script is executed as follows:

ot_generator.py -i theme.json -o Output/Folder/

In order for it to support both Swift and ObjC, here's what we need:

ot_generator.py -i theme.json -o Output/Folder/ -t swift3.0
ot_generator.py -i theme.json -o Output/Folder/ -t objc
pkluz commented 7 years ago

Also, the output should be structs instead of classes as in objc.

chhaylatte commented 7 years ago

Note, this was implemented as -l instead of -t