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 connect SwiftUI views - like slider - to your app’s state using SwiftUI bindings.

You should also have an understanding of the very basics of app architecture, including the single responsibility principle, and the importance of separating your views and data models.

You’ve also completed two of the four remaining “Must Haves”:

  • Show a popup when the user taps “Hit me” button
  • Read the value of the slider after the user taps the “Hit me” button

We only have two final items left on our “must haves” for our programming to-do list:

  • to generate a random number for the target value, and
  • calculate and show the score.

And that’s what we’ll do in the next part of the course, and along the way we’ll learn some more Swift coding basics.

So if you’re ready to wrap up the final “must haves” on your programming your to-do list and get Swifty along the way, continue to the next module.

See forum comments
Download course materials from Github
Previous: Create a Model Next: Quiz: SwiftUI Data