Simplified VIPER architecture
summary
Claims a practical reduction of VIPER boilerplate by replacing per-module protocol sets with four small enums and four generic listener protocols, using Swift Enum, Generic, Protocol, Type Erasure features. Implements an Any-event type‑eraser and a generic builder that wires view, presenter, interactor and scene presenter with compile-time checks so the compiler enforces matching event/request/response/command types. Tests shrink to a couple of test doubles instead of many mocked protocols.
AI-written summary · about
chapters (6)
related talks
31mVIP, not a VIPER, Clean Swift Architecture
01h 02mA comparative approach to MVC, MVVM and VIPER: taking the best ideas without fighting against the platform
49mApplied Modern C++: beyond type erasure and visitor pattern
30mArchitecting an app with MVP and ViewModels
28mFlexible View Controller Interfaces With Swift 4
44mBits and Pieces of a Great Architecture
42mSplitting Monolithic Swift Code Base Into Modules
29mConductors: It’s all about communication!
