Swinjectsimpleexample

A simple example to use Swinject with unit tests
Alternatives To Swinjectsimpleexample
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Swinject5,896
269a month ago38February 06, 202360mitSwift
Dependency injection framework for Swift with iOS/macOS/Linux
Di28333 months ago14May 18, 20221mitGo
Simple and yet powerful Dependency Injection for Go
Koin Samples184
5 years ago2apache-2.0Shell
KOIN - a concise and pragmatic dependency injection framework for Kotlin -- #Samples
Swinjectsimpleexample61
2 years agomitSwift
A simple example to use Swinject with unit tests
Myweather31
4 years agoJava
App displays real-time weather updates for user's location and for other locations set by user. App uses MVVM with Repository pattern, dagger dependency injection, NetworkBoundResource, Navigation component, App widget, Alarm manager, and other Android JetPack components (Room, Viewmodel, Livedata)
Weather Android21
8 years agoJava
Example how to use dagger2
Bmkg Importer16
17 hours agomitPHP
Script PHP untuk import data prakiraan cuaca dari BMKG
Weather Android Kotlin14
8 years agoKotlin
Weather Android App converted to Kotlin!
Weatherappflutterdependencyinjection5
4 years agoDart
Implement Dependency Injection in Flutter using inject.dart
Geff_notebooks5
2 years ago1apache-2.0Jupyter Notebook
Jupyter notebooks to post-process fire danger data using Python/xarray
Alternatives To Swinjectsimpleexample
Select To Compare


Alternative Project Comparisons
Readme

SwinjectSimpleExample

[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.

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.

Popular Weather Projects
Popular Dependency Injection Projects
Popular Command Line Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Swift
Weather
Dependency Injection