-
Notifications
You must be signed in to change notification settings - Fork 208
Closed
Description
I'm stuck with the issue while using koin in ios in the common module.
KClass for Objective-C classes is not supported yet
It's not for kampkit, but it's heavily based on your codebase
What's wrong with koin injection here?
actual val platformModule = module {
try {
single { NSUserDefaults(suiteName = "TTR") }
}
catch (ex: Exception){
NSLog("%s", ex.message)
}
try {
single<Storage> { StorageImpl(get()) }
}
catch (ex: Exception){
NSLog("%s", ex.message)
}
try {
single<UUIDGenerator> { UUIDGeneratorImpl() }
}
catch (ex: Exception){
NSLog("%s", ex.message)
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels