X-Code First Partial Project
David Pérez Ocañas — A01570615, Rodolfo Arroyo — A01570478
This app allows you to create any color you want using a combination of the three primary colors: red, green and blue. At the top of the app, you have the View, which lets you see what color you have created. The switches at the left let you choose which of the primary colors you want to use. You can turn on or off each color. Using the sliders next to them, you can adjust the intensity of each color. So, by adjusting each one, you will be able to create new colors.
Get David Aarón Pérez Ocañas’s stories in your inbox
Join Medium for free to get updates from this writer.
First, we added the UIView in which the colors would be displayed. Then we added the first switch and connected it as an action, and then as an outlet. Then we added two more switches and connected them as outlets, and then connected those two switches to the same action. We did the same process with the sliders. We then added the reset button. In the app there are three actions in total. One slider, one switch and the reset button.








