I have a super simple app with root view controller and modal view controller.
At first view i have only one UIButton - it animate transition to modal controller. At modal view controller I have 4 sliders (R,G,B,Alpha), they are changing modal view background color and one UIBUtton to exit from modal view. By clicking this button background color of my root controller needs to be changed to the same color as in modal controller. How can I do this and make my modal controller act to achieve this?
Also I need to save this preferences to NSUserDefaults. So What is the most correct way to do this?