~/talk

Code organization strategies for complex globalization in Swift

Talkat BA: Swiftable 2022 · 2022-12-01..12-02· [frontend-architecture]
links:none on file
slides:none on file

Argument: move all UI strings out of the monolithic app into a standalone Swift package and keep SwiftUI views in their own packages so previews load fast. Use code generation (SwiftGen) to produce typed accessors so missing keys fail compile time; add a Stencil extension to SwiftGen so SwiftUI previews actually localize. Proven on a 10‑layer demo and apps localized since 2011 across 16 languages with ~40M downloads; side tools mentioned: CombineSchedulers, Swingject, Quick/Nimble.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Where to store strings
  3. 3:40History of localization
  4. 7:39SwiftUI challenges
  5. 10:51Architecture matters
  6. 13:21Clean architecture layers
  7. 14:25Problems with string keys
  8. 15:50Code generation benefits
  9. 17:17SwiftUI double localization
  10. 19:04Fixing SwiftUI previews
  11. 20:09Final recommendations
  12. 21:15Controversial architecture tips
  13. 23:46Q&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.