What is Kraken?

Kraken is a simple Dependency Injection Container.

It’s aimed to be as simple as possible yet provide rich functionality usual for DI containers on other platforms. It’s inspired by Dip and some other DI containers.

You start by creating a Dependency Configurator for bootstrapping and registering your dependencies, by associating a protocol or type to either an implementation type, an implementation or a factory. It is preferrable to call your Dependency Configurator from main.swift.

Then you can call inject(typeToInject) to resolve an instance of protocol or type based on the bootstrapping in your Dependency Configurator.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/sabirvirtuoso/Kraken
  • Resource Maker: Syed Sabir Salman-Al-Musawi
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • CocoaPods: Kraken