From the course: iOS 14 Development Essential Training

Unlock the full course today

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

Challenge: SwiftUI

Challenge: SwiftUI

From the course: iOS 14 Development Essential Training

Start my 1-month free trial

Challenge: SwiftUI

(upbeat music) - [Instructor] And now for this chapter's challenge, to review what we talked about, we discussed SwiftUI, working with stacks, modifying attributes and adding images to your SwiftUI projects. The challenge in this chapter is to move the controller image icon to the left of the title text. We also want to make the controller size the same size as the text and change the color of the controller image to green. If you don't want any help, you can stop the movie now and start the challenge. But if you'd like some tips, here's some tips to help you get started. You'll need an HStack to place the image next to the text. You can change the size of the image via its font attribute. The challenge should take about five minutes to complete and good luck.

Contents