In this chapter, we will get familiar with structures and classes. At the end, you should feel comfortable defining your own class or inheriting from any class that is part of iOS and could be inherited.
Now let's dive into structures and classes in Swift. Then, we will continue with two different techniques used to add extra functionality to a class—inheritance and extensions. The chapter discusses the MVC design pattern and why it is good to use it.
In this chapter, we will cover the following topics:
- Structures
- Classes
- Inheritance
- Model-View-Controller (MVC)