Object–Oriented Programming with Swift 2
上QQ阅读APP看书,第一时间看更新

Chapter 2. Structures, Classes, and Instances

In this chapter, you will learn the differences between structures and classes. We will start working with examples on how to code classes and customize the initialization and deinitialization of instances. We will understand how classes work as blueprints to generate instances and dive deep on all the details of automatic reference counting, also known as ARC.