Latest 0.0.5
Homepage https://github.com/valitovaza/HelloDependency
License MIT
Platforms ios 10.0, requires ARC
Authors

Build Status

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate HelloDependency into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'HelloDependency'

Basic Usage

Registering a dependency

import HelloDependency

HelloDependency.register(SomeProtocol.self, {
    SomeClass()
})

Registering a weak singleton

import HelloDependency

HelloDependency.Single.Weak.register(SomeProtocol.self, {
    SomeClass()
})

Demo App

DemoApp demonstrates HelloDependency usage.

Requirements

  • iOS 10.0+
  • Xcode 10.1+
  • Swift 4.2+

License

HelloDependency is released under the MIT license. See LICENSE for more information.

Latest podspec

{
    "name": "HelloDependency",
    "version": "0.0.5",
    "summary": "Swift Dependency Injection Framework",
    "description": "HelloDependency is a dependency injection framework for Swift.",
    "homepage": "https://github.com/valitovaza/HelloDependency",
    "license": "MIT",
    "authors": {
        "Azamat Valitov": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/valitovaza/HelloDependency.git",
        "tag": "0.0.5"
    },
    "source_files": "Sources/HelloDependency/*.swift",
    "requires_arc": true,
    "swift_version": "4.2",
    "subspecs": [
        {
            "name": "UIKitDependencyHelper",
            "source_files": "Sources/UIKitDependencyHelper/*.swift"
        }
    ]
}

Pin It on Pinterest

Share This