In this chapter, we will cover objects and classes in more depth, showing the mechanisms behind their creation, handling, and customization.
We will cover the following topics:
Object creation and initialization
Object immutability
Object mutability
Object inheritance
Convenience initializers
The singleton pattern
Using @property
Types of classes
Custom methods
Format specifiers