Swinject Tutorial for iOS: Getting Started | Kodeco, the new raywenderlich.com

In this tutorial, you will explore Dependency Injection (DI) through Swinject, a Dependency Injection framework written in Swift. Dependency Injection is an approach to organizing code so that its dependencies are provided by a different object, instead of by itself.


This is a companion discussion topic for the original entry at https://www.kodeco.com/17-swinject-tutorial-for-ios-getting-started

Hi Gemma! Thank you for your tutorial!
In “Simulating Networking in Tests” section you wrote “this works because you previously registered a named container.”, but it seems to me that we previously registered a named BitcoinPriceFetcher, not the named container. Is that true?