Using constants in Nib files

I have an application with several Nibs, Nibs are built according to the color scheme. Now I have a requirement to change the color scheme. Therefore, I need to go to each Nib and each component in it and change its color.

I was wondering if I can say that Nib reads color from "#define", so it would be easy to make such changes in the future.

Or any other way to change the content of Nib, not by going to each Nib and changing it, but doing so is central.

+3
source share
3 answers
+1

IBOutlet , , ?

0

Even after creating a thread with some other color, you can still change its background color value, since the viewDidLoad function or any other function has the value # define-ed.

0
source

Source: https://habr.com/ru/post/1791992/


All Articles