├── .github └── workflows │ └── swift.yml ├── .gitignore ├── .swiftlint.yml ├── DependencyInjection.podspec ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── DependencyInjection │ ├── DIContainer.swift │ ├── DependencyRegistering.swift │ ├── FunctionBuilders │ ├── ModuleBuilder.swift │ └── RegistrationBuilder.swift │ ├── Module.swift │ ├── PropertyWrappers │ ├── Inject.swift │ ├── LazyInject.swift │ ├── MutableInject.swift │ └── MutableLazyInject.swift │ ├── ReentrantSyncQueue.swift │ ├── Registrar.swift │ ├── Registration.swift │ ├── Registrations │ ├── New.swift │ └── Shared.swift │ └── Resolver.swift └── Tests ├── DependencyInjectionTests ├── DependencyInjectionTests.swift ├── MockTypes.swift └── XCTestManifests.swift └── LinuxMain.swift /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | -------------------------------------------------------------------------------- /.swiftlint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/.swiftlint.yml -------------------------------------------------------------------------------- /DependencyInjection.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/DependencyInjection.podspec -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/README.md -------------------------------------------------------------------------------- /Sources/DependencyInjection/DIContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/DIContainer.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/DependencyRegistering.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/DependencyRegistering.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Module.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Module.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/PropertyWrappers/Inject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/PropertyWrappers/Inject.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/PropertyWrappers/LazyInject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/PropertyWrappers/LazyInject.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/PropertyWrappers/MutableInject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/PropertyWrappers/MutableInject.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/PropertyWrappers/MutableLazyInject.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/PropertyWrappers/MutableLazyInject.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/ReentrantSyncQueue.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/ReentrantSyncQueue.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Registrar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Registrar.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Registration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Registration.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Registrations/New.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Registrations/New.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Registrations/Shared.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Registrations/Shared.swift -------------------------------------------------------------------------------- /Sources/DependencyInjection/Resolver.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Sources/DependencyInjection/Resolver.swift -------------------------------------------------------------------------------- /Tests/DependencyInjectionTests/DependencyInjectionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Tests/DependencyInjectionTests/DependencyInjectionTests.swift -------------------------------------------------------------------------------- /Tests/DependencyInjectionTests/MockTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Tests/DependencyInjectionTests/MockTypes.swift -------------------------------------------------------------------------------- /Tests/DependencyInjectionTests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Tests/DependencyInjectionTests/XCTestManifests.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianpixel/DependencyInjection/HEAD/Tests/LinuxMain.swift --------------------------------------------------------------------------------