~/talk

Feature toggles with BuildConfiguration and type-safe definitions

TalkinJapaneseat iOSDC Japan 2020 · 2020-09-19..09-21· [ios, swift, frontend-architecture]
links:none on file
slides:none on file

Describes using multiple Build Configurations and Swift type definitions to manage feature differences when building several iOS apps from a shared codebase (e.g., seller vs. buyer apps for a C2C service). Explains the problems with scattering #if macros—reduced readability and accidental exposure of features—and proposes leveraging type definitions to enforce feature boundaries and reduce conditional compilation sites.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58Multi-app in one repo
  3. 4:33Feature toggle example
  4. 7:12Problems with non-type-safe toggles
  5. 9:23Bugs prevented by type checks
  6. 13:27Type definitions for safe toggles
  7. 15:46Dev efficiency with types
  8. 18:34Summary
~/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.