Hey everyone, I was looking at ways to elegantly i...
# koin-contributors
x
Hey everyone, I was looking at ways to elegantly inject in SwiftUI and found that Koin doesn't quite provide a Swift API. Found an issue on the repo that no one seemed to have picked up yet. I was thinking of utilizing the newly introduced Swift Macros system, something along the lines of:
Copy code
@KoinInject private let userRepository: UserRepository
@KoinInject(parameters: [5]) private let newsRepository: NewsRepository
I would like to pick up the issue and try to implement the Koin Swift API, since no one seems to be working on it right now.
a
Hello, yes it's a good point. I would like some help about making it better for Swift 🙂
would be great