~/talk

Practical Structure to Configure Dependency Injection in Swift

Talkat Swift & Fika 2018 · on Monday, 2018-09-10· [ios, developer-experience]
speakerdeck:yoichitgy
slides:none on file

Introduces a concrete, production-proven way to wire DI for iOS using Swinject (original author, maintained by five people, >2k GitHub stars, four extensions) and a simple container register/resolve pattern. Shows exact code: APIClientProtocol implemented by APIClient, MyViewModel initializer receives dependencies via a typealias tuple to separate injected services from per-instance parameters, explains resolver closures and how this scales for tens of millions of users and many engineers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:59Software architecture basics
  3. 7:52Dependency injection benefits
  4. 12:51DI container setup
  5. 15:11Handling complex dependencies
  6. 18:24Summary and conclusion
~/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.