Publishers of technology books, eBooks, and videos for creative people

Home > Articles

  • Print
  • + Share This
This chapter is from the book

Stay Classy

With functions and closures covered, I’ll turn your 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—I’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 I’ll get down and dirty with classes.

  • + Share This
  • 🔖 Save To Your Account