Keeping Things Modular With Swift Package Manager
summary
Shows a runnable Rick and Morty demo app implemented in SwiftUI and MVVM and converts a monolith into packages using Swift Package Manager by grouping models networking mappers and helpers as libraries inside one package the presenter renames folders makes types public fixes 44 errors from moved files and links feature targets like characters and settings so the build becomes faster shows dependency graphs avoids cycles and demonstrates the exact commands and file edits to reproduce the result for the project
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:23A bit about me
- 1:28Our Practical Example
- 3:15Problem with our current approach
- 4:38Discussing Modularisation
- 6:09How does this solve our issue?
- 8:05Painting a clearer picture
- 13:24Translating this using SPM
- 15:51Defining our Libraries
- 17:24Why libraries and not multiple packages?
- 19:31We have a problem....
- 21:50Updated Dependency Graph
- 23:38A few things to note
related talks
39mModularization techniques from monolithic to multi-packages app
01h 00mHow to Build Modularity with SPM and a Monorepo Without Going Gray
44mSwift Packages - Dependency Management of the Future
46mPreviews and Package Oriented Programming
29mWarm Up
34mMake Your SwiftUI Design System Portable with Swift Packages
37mCut costs, not corners: Master modularization with SPM
24mThinking Outside the Box with Swift Package Manager
