Different flavors of dependency injection in Swift

John Sundell shows us three flavors of dependency injection. No matter your favorite flavor of DI, it’s always good to be reminded of the alternatives. Each is suited to a slightly different scenario.