I am creating an application that will be able to switch its UI theme to different colors including icons. I plan to have different sets of icons that will be stored on different folders(green folder, yellow folder, etc). The name of the icons will be the same across all the folders the only thing that will change is its color.
Here is the code that i am currently using when setting the images for buttons and icons
[menuBtn setBackgroundImage:[UIImage imageNamed:@"menuBtn.png"] forState:UIControlStateNormal]
For example if the user selected yellow as the app theme. internally there will be some kind of switch that will choose a path for the image ex. the code above will evaluate to something like "yellow/menuBtn.png" when user selects yellow or "green/menuBtn.png" when the user selects green. Is this possible?