Where Errors Belong: Use Case Outputs, Not Error Passed Around
Published on 03 June 2026Most apps leak Error across boundaries and downcast in ViewModels. Model failures in the use case output vocabulary instead. Swift and Kotlin.
Practical software architecture and design for iOS engineers.
Most apps leak Error across boundaries and downcast in ViewModels. Model failures in the use case output vocabulary instead. Swift and Kotlin.
Learn when use cases help iOS architecture, when they add noise, and how to keep them focused in Swift apps.
Learn how to refactor an iOS feature toward better architecture gradually, without rewriting the whole app.
Learn how to organize iOS feature modules using vertical slices, layers, and boundaries that make change easier.