A simple example to use Swinject with unit tests
[OBSOLETED] This example app is obsoleted and no longer follow the latest Xcode/Swift/Swinject versions.
This is an example project to demonstrate dependency injection and Swinject in a simple weather app that lists current weather information at some locations.
(Xcode 7 version with Swift 2.2 is here)
pod install
.OpenWeatherMap.swift
and fill apiKey = ""
with your own API key.The following blog posts demonstrate step-by-step development of the project introducing dependency injection and Swinject.
MIT license. See the LICENSE
file for details.