Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

At this point, you should understand how to add SwiftUI views to your app - like text, button, and slider - and how to style them using View Modifiers.

You’ve now completed 5 out of the 9 “must have” items on your programming to do list - you’re making great progress!

Let’s take a look at the 4 that are still remaining:

  • Show a popup when the user taps “Hit me” button.
  • Read the value of the slider after the user taps the “Hit me” button.
  • Generate a random number for the target value.
  • Calculate and display the score.

The first two on the list are about making the Bull’s Eye interactive. We’d like to make the app display a popup when you tap the “Hit me” button, and we’d like to be able to move the slider, and read it’s value.

And you’ll learn how to do exactly that in the next module, where you’ll learn how to connect your SwiftUI views to data.

So if you’re ready to getting interactive — see you in the next module!

See forum comments
Download course materials from Github
Previous: Solve Problems Next: Quiz: Getting Started with SwiftUI