The Wayback Machine - https://web.archive.org/web/20201029070640/https://github.com/Swinject/SwinjectSimpleExample
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SwinjectSimpleExample

This is an example project to demonstrate dependency injection and Swinject in a simple weather app that lists current weather information at some locations.

Screenshot

Requirements

  • Xcode 8 or later with Swift 3.0.x
  • CocoaPods 1.1.0 or later

(Xcode 7 version with Swift 2.2 is here)

Setup

  1. Download the source code or clone the repository.
  2. Run pod install.
  3. Get a free API key from OpenWeatherMap.
  4. Open OpenWeatherMap.swift and fill apiKey = "" with your own API key.

Blog Posts

The following blog posts demonstrate step-by-step development of the project introducing dependency injection and Swinject.

License

MIT license. See the LICENSE file for details.

About

A simple example to use Swinject with unit tests

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.