~/talk

Keeping Things Modular With Swift Package Manager

Talkat iOS Conf SG 2022 · 2022-01-20..01-21· [swift]
slides:none on file

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

  1. 0:00Intro
  2. 0:23A bit about me
  3. 1:28Our Practical Example
  4. 3:15Problem with our current approach
  5. 4:38Discussing Modularisation
  6. 6:09How does this solve our issue?
  7. 8:05Painting a clearer picture
  8. 13:24Translating this using SPM
  9. 15:51Defining our Libraries
  10. 17:24Why libraries and not multiple packages?
  11. 19:31We have a problem....
  12. 21:50Updated Dependency Graph
  13. 23:38A few things to note
~/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.