Tagged with use-cases

Browse all tags

Where Errors Belong: Use Case Outputs, Not Error Passed Around

Most apps leak Error across boundaries and downcast in ViewModels. Model failures in the use case output vocabulary instead. Swift and Kotlin.

Complex Forms Should Not Make Your ViewModel the Use Case

Architect complex SwiftUI forms with drafts, validators, mappers, form operations, and use cases without making the ViewModel the whole feature.

Use Cases in iOS Apps: Helpful Boundary or Extra Layer?

Learn when use cases help iOS architecture, when they add noise, and how to keep them focused in Swift apps.