~/talk

Dependency Injection Pattern for iOS App

TalkinGermanat Mobilization 8 · on Friday, 2018-10-26· [ios, developer-experience]
speakerdeck:yoichitgy
slides:none on file

The talk explains using dependency injection (DI) in iOS apps with Swift, focusing on the Swinject framework to define a DI container (Container, Assembly, Assembler) and build a dependency graph for resolved instances. It covers DI concepts tied to the dependency inversion principle, compares iOS architectures (MVC, MVVM, VIPER), presents a minimal architecture to apply DI in production apps, and shows unit testing with test doubles using DI.

AI-written summary · about

  1. 0:00Introduction
  2. 14:14Dependency Injection basics
  3. 28:05Practical DI in iOS
  4. 33:18Pitfalls and solutions
  5. 40:14Q&A
~/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.