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

ru.pocketbyte.locolaser.mobile.IosSwiftResourcesConfig.kt Maven / Gradle / Ivy

Go to download

Implementation of platform for LocoLaser tool to work with Android and iOS platforms.

There is a newer version: 2.5.0
Show newest version
package ru.pocketbyte.locolaser.mobile

import ru.pocketbyte.locolaser.config.resources.ResourceFileProvider
import ru.pocketbyte.locolaser.config.resources.ResourcesConfigBuilderFactory
import ru.pocketbyte.locolaser.mobile.resource.IosSwiftResources
import java.io.File

class IosSwiftResourcesConfig(
    workDir: File?,
    resourceName: String?,
    resourcesDirPath: String?,
    resourceFileProvider: ResourceFileProvider?,
    tableName: String?,
    filter: ((key: String) -> Boolean)?
) : IosBaseClassResourcesConfig(
    workDir,
    resourceName,
    resourcesDirPath,
    resourceFileProvider,
    tableName,
    filter
) {

    companion object : ResourcesConfigBuilderFactory {
        const val TYPE = "ios_swift"

        override fun getBuilder(): IosSwiftResourcesConfigBuilder {
            return IosSwiftResourcesConfigBuilder()
        }
    }

    override val type = TYPE
    override val resources by lazy {
        IosSwiftResources(
            resourcesDir = this.resourcesDir,
            name = this.resourceName,
            resourceFileProvider = this.resourceFileProvider,
            tableName = this.tableName,
            filter = this.filter
        )
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy