Stay Classy
With functions and closures covered, we’ll turn our attention to the concept of the class. If you are familiar with object-oriented programming (OOP), Swift’s notion of a class is similar to that of Objective-C and C++. If you’re new to the idea of objects and OOP, don’t worry, we’ll explain all that terminology in the next chapter.
Meanwhile, feel free to take a break and review the notes and code in this chapter, as well as experiment with your playground file. When you’re ready, proceed to Chapter 5, and we’ll get down and dirty with classes.