From the course: iOS 14 Development Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Build a color picker app

Challenge: Build a color picker app

From the course: iOS 14 Development Essential Training

Start my 1-month free trial

Challenge: Build a color picker app

(bright upbeat music) - [Instructor] And now for this chapter's challenge, let's review what we talked about so far. We worked with binding, we talked about the @State callout versus @Binding callout. We looked at creating custom SwiftUI views and creating multiple properties and parameters with those views. The challenge for this chapter is simple in concept. It is to finish our color picker app, that is to add green and blue sliders where the green and blue values of our image update as you drag the sliders. If that's enough information for you, feel free to get started, but if you'd like some tips, here you go. Green and blue need to have the @State callout, they don't currently have it in the code. Other tip is you can simply copy and paste the SliderView object to create the green and blue sliders. Make sure to change both the color and the binding variable that you're passing in. This challenge should take…

Contents