From the course: iPadOS 13 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: Add adapting color - iOS Tutorial
From the course: iPadOS 13 Development Essential Training
Challenge: Add adapting color
(upbeat music) - [Narrator] Here's another challenge. To review what we talked about in this chapter, we discussed dark mode, including dark mode previews and using system colors. The challenge is to add a color to our data model and to make only the image change color. So we have our navigation view with the list items in it. There's an image and a text area in there. We're only changing the color of the image, and we're going to get that from the data model. This is a pretty straightforward challenge, so I don't have any other tips. You're going to put the color in the data model and you'll use it where you're using your image and your text. This should take about five minutes to complete.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.