You can watch this episode by subscribing to Cocoacasts Plus.

Mastering Navigation With Coordinators

Dependency Injection and the Coordinator Pattern

If you're familiar with Cocoacasts, then you should know that I'm a big proponent of dependency injection. I tend to discourage developers from using the singleton pattern if the goal is creating an object that is easily accessible from anywhere in the project. That's not what the singleton pattern is about. You can learn more about the singleton pattern by reading Are Singletons Bad.

Purchase Course

Purchase Mastering Navigation With Coordinators and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Mastering Navigation With Coordinators.

Next Episode "Working With Tab Bar Controllers"