Episode #316

Dependency Inversion Principle

Series: S.O.L.I.D.

21 minutes
Published on December 21, 2017

This video is only available to subscribers. Get access to this video and 578 others.

In this episode we cover the dependency inversion principle, which states that high level components should not depend on low level components, but instead they both should depend on abstractions. We will look at two examples of this and leverage dependency injection to decouple classes from concrete dependencies.

This episode uses Swift 4.