~/talk

Demystifying Native Mobile Apps Architecture

Talkat code.talks 2019 · 2019-10-24..10-25· [software-architecture]
links:none on file
slides:none on file

Shows how to turn a messy login screen into a testable app by implementing a networking wrapper (Alamofire on iOS), an authentication service that parses errors, and view models that keep UI controllers “dumb.” Uses Swift examples (parallels to Kotlin/Android and Dagger noted), demonstrates hand‑made protocol mocks to unit test services, explains why UI is hard to unit test and how incremental refactors (even rewrites) pay off, and links to sample GitHub projects that compile.

AI-written summary · about

  1. 0:00Intro
  2. 1:50We've all been there
  3. 4:40Architecture Simplified
  4. 5:52Let's start with a small example
  5. 8:16Layered Architecture
  6. 9:31Library Wrappers
  7. 10:01Services
  8. 10:30User Interface
  9. 10:51Clean communication
  10. 11:58Abstract from the dependencies
  11. 12:51Extract the service layer
  12. 14:10Changes to the ViewController
  13. 15:07Where do we stand after the first step?
  14. 15:43Loose Coupling
  15. 16:43Connecting through the interface
  16. 17:35Now we can test
  17. 20:17How do we make the Ul testable?
  18. 21:08Extract logic into View Models
  19. 22:14Login ViewModel
  20. 24:18Wanna get extra points?
  21. 24:46Why is it such a big deal?
  22. 26:00Advanced options for more complex projects
  23. 27:41Where can you start?
  24. 31:09Sample Github projects
~/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.