Technical requirements
The Xcode playground for this chapter is in the Chapter07
folder of the code bundle for this book, which can be downloaded here:
https://github.com/PacktPublishing/iOS-14-Programming-for-Beginner-Fifth-Edition
Check out the following video to see the Code in Action: https://bit.ly/3jqWlrT
If you wish to start from scratch, create a new playground and name it Classes,StructuresAndEnumerations
. You can type in and run all of the code in this chapter as you go along. Let's start with learning what a class is, and how to declare and define it.