Technical requirements
The Xcode playground for this chapter is in the Chapter03
folder of the code bundle for this book, which can be downloaded here:
https://github.com/PacktPublishing/iOS-15-Programming-for-Beginners-Sixth-Edition
Check out the following video to see the code in action:
Create a new playground and name it ConditionalsAndOptionals
. You can type in and run all the code in this chapter as you go along. You'll start by learning about conditionals.