In order to access the navigationBar's background color, one would have to write:
theme.component.navigationBarBackgroundColor
When the navigationBar components has a lot of keys, autocomplete starts to struggle in Xcode and suggests a whole lot of things.
Thus we need to change the code-generation a little bit.
It'd be preferable if the output code structure allowed for access as follows:
theme.component.navigationBar.colors.background
or alternatively:
theme.component.navigationBar.backgroundColor - whichever is more comfortable and more in line with the rest of the codebase. I'll leave this up to the author.
Right now, when the following
json
theme definition file is parsed:In order to access the navigationBar's background color, one would have to write:
theme.component.navigationBarBackgroundColor
When the
navigationBar
components has a lot of keys, autocomplete starts to struggle in Xcode and suggests a whole lot of things.Thus we need to change the code-generation a little bit.
It'd be preferable if the output code structure allowed for access as follows:
theme.component.navigationBar.colors.background
or alternatively:
theme.component.navigationBar.backgroundColor
- whichever is more comfortable and more in line with the rest of the codebase. I'll leave this up to the author.