App 5 - MixingBoard
This week we were tasked to make a part of a larger app. Each person in our class will use the same variables (and ranges) to make a portion of an app that Nien and Sebastian will wire together into one large app. I made an app where you can choose a number 0-9 by clicking the “set” icon, when you press “show” that number of rectangles will display and you can change the color by using the slider, the “reset” button will reset the number of rextangles to 0 and turn off the “show” button. We had to use:
struct Signal {
// Range: 0 - 10 var intValue: Int
// Range: 0 - 1.0 var floatValue: Float
// True or False var toggleValue: Bool
}
See code on GitHub.