In this episode, we spike new design ideas to separate the responsibilities of (1) building a Quiz result, and (2) delegating the result (Single Responsibility Principle).
Furthermore, we identify the potential to break down the QuizDelegate protocol into two: a QuizDataSource and a QuizDelegate (Interface Segregation Principle).
The goal is to make the Quiz engine more composable and allow new use cases to be added easily.
Subscribe to our Youtube channel and follow the project's progress on GitHub.
References
Essential Developer Academy
Become a complete Senior iOS Developer
Practical resources on Swift, TDD, modular design, and clean architecture to help you deliver high-quality apps and grow your career with confidence.