VIP+W Architecture
Installation
SKILL.md
VIP+W Clean Architecture
A scalable, testable architecture pattern for iOS apps with strict separation of concerns and unidirectional data flow.
Components Overview
View (ViewController)
- Responsibility: Display logic ONLY
- Protocol:
DisplayLogic - Does: Renders UI, forwards user actions to Interactor
- Does NOT: Contain business logic, format data, make API calls
Interactor
- Responsibility: Orchestrates business logic
- Protocol:
BusinessLogic - Does: Receives requests from View, coordinates Workers, sends responses to Presenter
- Does NOT: Format data for display, handle UI, make direct API calls