Exploring Architectures for iOS
In the previous chapter, we discussed Swift Testing, an essential framework that helps us test our Swift code. App testing is not only a technical topic – it is also a culture. Part of this culture is looking at our project as a set of classes and a whole structure with a certain logic. That’s why testing and architecture go hand in hand – they both look at our project as a well-designed system. This holistic approach is essential to meet our product requirements over time.
In this chapter, we will cover the following topics:
- Understanding the importance of architecture
- Learning what exactly architecture is
- Going over the different architectures, such as multi-layer, modular, and hexagonal
- Comparing the different architectures by separations, testing, and maintenance
First, let’s understand why architecture is so important.