Could you suggest DI (or something similar)? E.g. ...
# getting-started
k
Could you suggest DI (or something similar)? E.g. code example. Should work on iOS. I want to have static class/object/whatever, that I could access from other classes. This static class needs initialization (passing object, done once). I don't want to pass its reference everywhere.
a
A static class/object/whatever can be initialized from everywhere and there is only one instance of it, there is no need for DI here?
p
Kodein?