Sobes.tech
Junior — Middle

What content should not be included in the Coordinator component?

sobes.tech AI

Answer from AI

In the iOS architecture of the Coordinator pattern, the main task of the Coordinator component is managing navigation and transitions between screens. The Coordinator component is not recommended to include:

  • UI display logic (e.g., configuring view controllers or their internal logic).
  • Business logic of the application — this is the task of models and services.
  • Storage of user interface state.

In other words, the Coordinator should only be responsible for navigation and screen coordination to ensure a clean architecture and separation of concerns. All logic related to UI and data should remain in the respective layers.

What content should not be included in the… - sobes.tech