~/talk

Cut costs, not corners: Master modularization with SPM

Talkat #Pragma Conference 2024 · 2024-10-29..10-30· [swift, developer-experience]
slides:none on file

Project X migrates a UIKit CocoaPods monolith to Swift Package Manager modules, extracting a top-level core and core UI plus 11 feature modules, and decoupling Kotlin Multiplatform into its own repo with an XCFramework consumed via SPM. The refactor produces a 23,000-line pull request, removes most files from the project.pbxproj, and cuts local clean builds by 55%, incremental builds from 14s to 8s, and CI from ~30 minutes down to 8 minutes, demonstrating measurable speed and maintainability gains.

AI-written summary · about

  1. 0:00Introduction to SPM
  2. 7:54Monolith architecture problems
  3. 12:07The modularization maze
  4. 21:18Modularization results
  5. 24:49Metamorphosis with SPM
  6. 28:27Legacy in raw numbers
  7. 32:45Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.