Previous episode: 19. Conclusion
Next episode: 21. The Swift Standard Library
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Welcome to the final part of your first iOS and Swift UI app and app from scratch. In this part, you'll finally finish up the must-haves in your programming to-do list by adding the point calculation into the game. You'll start off by taking a deeper look at the Swift Standard Library, which is a library of functions written by engineers at Apple that you can use in your Swift code, and you'll use it to generate a random target number in Bullseye. Then you'll learn about the concept of unit testing, which is, basically, code you write that tests your other code. You'll add some unit tests to make sure the Bullseye data model is working the way you want and learn how you can incorporate unit testing into your daily development workflow with test driven development. In the remaining episodes you'll write the code to calculate the points for the game in a few iterations from naive to ideal. Along the way, you'll learn about some fundamental techniques of coding and Swift, such as if/else statements, variables and constants, type inference, and more. You'll also get a lot of practice with some things we covered in previous sections, because it's all about learning via repetition.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.