Skip to content
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (15 loc) · 1.03 KB

UsageExamples.md

File metadata and controls

28 lines (15 loc) · 1.03 KB

Usage Examples

Decentralised dependency resolution

Simple types can be resolved without any prior registration with the container.

This is acheived through the use of generic functions on the container and conformance to the Injectable protocol for types that need to be injected.

See InjectableTests.swift

Object lifetime

Type variants

See TypeVariantTests

Interface registration

See InterfaceResolutionTests

Cyclic dependencies

See CyclesTests