View on GitHub

Alchemic v2.1

An advanced DI framework for iOS

Carthage compatible

API: Objective-C Swift 3

HomeInstallationAdding AlchemicArchitectureObject factoriesInjectionsValue typesProgrammatic usageiOS featuresAdvanced usageError handlingReference

Alchemic v2.1 is a Dependency Injection (DI) framework for iOS.

Alchemic helps simplify your application’s code by creating and managing your applications objects, and the dependencies they need. Alchemic’s goal is to do this as simply as possible.


Swift support

Alchemic supports classes written in Swift with some caveats.

Alchemic is written using the Objective-C runtime because it can do things that Swift’s runtime simply cannot do. As a result, Objective-C is unable to understand some Swift constructs such as structs and protocol extensions. So the following applies