Resolver
Resolver copied to clipboard
Swift Ultralight Dependency Injection / Service Locator framework
This PR adds the ability to resolve all registered implementations for a given type, where the implementations are differentiated by names. Please let me know what I can optimize.
I have yet to see any of the videos _Originally posted by @Spikebady in https://github.com/Spikebady/wife/issues/1#issuecomment-1190625159_
When I try to register an object which is marked as `@MainActor` then it gives the following error ``` Call to main actor-isolated initializer 'init()' in a synchronous nonisolated context...
Sorry, my app crash and get this error. And this is my code. ``` @objc protocol Animal { var name: String { get } @objc optional var running: Bool {...
- fix typo (Deorator -> Decorator) in comments
Resolver is now officially deprecated and replaced by my new dependency injection system, [Factory](https://github.com/hmlongco/Factory). Factory is a true container-based dependency injection system that's compile-time safe and is smaller, lighter, and...
Can we get visionOS 1.0 added to supported platforms?
As in description: Need to use Xcode in Rosetta mode in order to build a code for simulator. Otherwise the failure error occurs: ``` Could not find module 'Resolver' for...
A bit of a potential feature request. Scenario: I'm working on Multiplatform app and have found ourselves using some #os directives here and there where we want platform specific implementations....