Dependency Injection in Pure Swift
-
Updated
Oct 3, 2016 - Swift
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
Dependency Injection in Pure Swift
Simple component save you from a lot of singleton classes.
Written in pure Swift mobile iOS application for Marvel seekers
[DEPRECATED] Key-value storage where value object will be automatically released when key object is deallocated.
NhacCuaTui clone, this app is only created for learning iOS.
Simple IoC container written in Swift 3.0
Small library to check injections into Swift objects
Weather app
Dependency Injection framework for Swift
Simple Dependency Injection
Functional DI explorations in Swift
Simple github iOS client (RxSwift+MVVM)
This repository demonstrates the application of the Cake pattern in Swift
Swift open source project on VIPER architecture.
Swift MVVM Sample project. Made with ReactiveCocoa, Swinject and Routers
Created by Martin Fowler
Released January 23, 2004