Problem Statement
Which architecture emphasises layers like Domain, Data and Presentation to keep business logic independent of frameworks?
Explanation
Clean Architecture proposes a separation into layers such as Domain (business logic), Data (repositories), and Presentation (UI), so that high-level policies don’t depend on low-level implementations. In Swift this architecture is increasingly used in large apps and shows up as an advanced interview topic.
Practice Sets
This question appears in the following practice sets: