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

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

There is a newer version: 1.2.9
Show newest version
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
import tech.skot.model.SKPersistor

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy