Modularization techniques from monolithic to multi-packages app
summary
Shows how a monolithic Swift app is split into layered and feature packages using Swift Package Manager, moving through three phases (layer extraction, feature packages, decoupled navigation). Demonstrates multiple targets per package, a working mini app that imports only the movie feature, and a simple router/mediator to eliminate cyclic dependencies. Claims per-feature builds are far faster than full-app builds, warns about too many modules increasing launch size, and suggests static libs or tighter boundaries when modules grow.
AI-written summary · about
chapters (9)
- 0:00Introduction and agenda
- 1:22Monolith versus modularity
- 3:16Pros and cons of monoliths
- 5:41Advantages and pitfalls
- 9:14Modularization tips and tools
- 14:28Live coding: Project setup
- 23:29Advanced modularization
- 29:25Key takeaways and conclusion
- 32:59Q&A session
related talks
26mKeeping Things Modular With Swift Package Manager
20mBreaking Down Modularization
23mModularizing Your App
01h 00mHow to Build Modularity with SPM and a Monorepo Without Going Gray
20mStarting Module Separation from New Feature Development
32mCut costs, not corners - Master modularization with SPM
40mModularizing Android Applications
42mSplitting Monolithic Swift Code Base Into Modules
