Originate / OriginateTheme

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

Boolean Data Types #12

Closed pkluz closed 7 years ago

pkluz commented 7 years ago

@rweindl @allewun

The components fields require additional fields that can handle boolean values.

E.g. given:

"components" : {
        "tabBar" : {
            "colors" : {
                "background" : "FFFFFF",
                "tint" : "4A4A4A"
            },
            "isTranslucent": true
        },
...
}

should generate:

@property (nonatomic, assign, readonly) BOOL navBarIsTranslucent;

chhaylatte commented 7 years ago

Just to make sure, do we want the public property to also be readwrite?

pkluz commented 7 years ago

yikes no we do not :) Sorry about that!