~/talk

SwiftUI and DI

TalkinRussianat AppsFest 2020 · 2020-10-30..10-31· [swift, ios]
links:none on file
slides:none on file

Explains data flow and data-handling mechanisms in SwiftUI and how to integrate non-SwiftUI parts of an app. Compares dependency injection and service locator patterns and shows how to perform dependency injection specifically in SwiftUI.

AI-written summary · about

  1. 0:00Introduction
  2. 3:49Talk plan
  3. 5:13Monolithic dependencies problem
  4. 8:46What is DI and its benefits
  5. 11:34Dependency injection challenges
  6. 13:20DI with factories
  7. 14:02SwiftUI app entry point
  8. 17:53DI without frameworks
  9. 18:36SwiftUI and architecture layers
  10. 20:19ViewModel and SwiftUI binding issues
  11. 21:46ObservableObject in SwiftUI
  12. 24:55StateObject for dependencies
  13. 25:59ObservedObject and EnvironmentObject
  14. 28:47EnvironmentObject limitations
  15. 31:14What to store in DI container
  16. 37:40Summary and DI tips
  17. 38:21Q&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.