Scenario: I'm working on Multiplatform app and have found ourselves using some #os directives here and there where we want platform specific implementations.
What would you think of adding platform as a parameter, e.g.
register(.iOS) { Foo() }
and
@Inject(.iOS) private far foo: Foo
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.
What would you think of adding platform as a parameter, e.g.
register(.iOS) { Foo() }
and@Inject(.iOS) private far foo: Foo
Or would you recommend some other way?
PS: Love your work!