Android, WPF and mostly every platform I've been working with, has way to reuse and "centralize" ui resources like colors and styles in a single file.
in android it is posible to do like this:
in colors.xml file:
<color name="secondary_text_color">#ffcc67</color>
in any view:
<TextView text="some text" textColor="@colors/secondary_text_color" />
Is there something similar in iOS?
I'm not trying to replicate android in iOS, but I'm struggling with understanding what is (if there is any) ui reusing pattern that should be followed.
The only thing I've come across is to define Theme in code, and reuse it in code behind, is that the right way?