/iOS-Dependency-Injection-Workshop

Resources for my "iOS Dependency Injection" workshop.

Primary LanguageSwift

iOS Dependency Injection Workshop

This repository contains resources for my iOS Dependency Injection workshop.

Goals

This workshop builds:

  • Understanding of DI principles and benefits.
  • Experience adding manual DI to common iOS architectures.
  • Awareness of the costs/benefits of DI frameworks.

Participants should leave feeling empowered to champion the introduction of manual DI in iOS codebases they work on.

Self-Study

All workshop resources are collected in this repository. Before beginning, you should have:

  • Xcode 11.1 installed.
  • A basic awareness of unit testing.
  • A basic awareness of the MVVM app architecture.

When you are ready to begin:

  1. Clone this respository.
  2. Read through the slides in the part1-slides folder.
  3. Work through the refactors described in part2-refactor/guide.md using the part2-refactor/SpeedySubs_Beginning iOS app codebase.

Please reach out to me if you have unanswered questions!