All Downloads are FREE. Search and download functionalities are using the official Maven repository.

iosMain.tech.skot.di.modelFrameworkModule.kt Maven / Gradle / Ivy

package tech.skot.di

import tech.skot.core.di.BaseInjector
import tech.skot.core.di.module
import tech.skot.model.IosSKPersistor
import tech.skot.model.PersistorFactory

actual val modelFrameworkModule = module {
    factory {
        object : PersistorFactory {
            override fun getPersistor(dbFileName: String) =
                    IosSKPersistor(dbFileName)
        } as PersistorFactory
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy