Summary
In this chapter, we looked at two case studies to see how we can use Swift with the protocol-oriented programming paradigm and how to use design patterns to create easy-to-maintain and flexible applications. If you worked through the designs yourself and your design was different from the ones presented here, that is OK. There are many correct answers for each of these problems. The key is to make sure your applications are designed to be easily maintained and very flexible.
As an architect, your focus should not only be on meeting the requirements of your framework or application but also on making your code base easy to maintain and expand in order to meet future requirements. Using a programming paradigm, such as protocol-oriented ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access