Daily iOS
Architecture

Modularization strategy

You want to split an app that grew into a single target into modules. What criteria do you use to draw module boundaries?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Split along two axes, layers (Core/Domain/Data/Feature/App) and features, and Features never depend on each other directly; they talk only through Interface modules. Local SPM packages are the default, and XCFramework when you need distribution or binaries.

Share a question