ru.pocketbyte.locolaser.mobile.resource.IosBaseClassResources.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resource-mobile Show documentation
Show all versions of resource-mobile Show documentation
Implementation of platform for LocoLaser tool to work with Android and iOS platforms.
package ru.pocketbyte.locolaser.mobile.resource
import ru.pocketbyte.locolaser.config.resources.ResourceFileProvider
import ru.pocketbyte.locolaser.resource.AbsResources
import ru.pocketbyte.locolaser.resource.formatting.FormattingType
import ru.pocketbyte.locolaser.resource.formatting.NoFormattingType
import java.io.File
abstract class IosBaseClassResources(
resourcesDir: File,
name: String,
resourceFileProvider: ResourceFileProvider,
tableName: String?,
filter: ((key: String) -> Boolean)?
) : AbsResources(resourcesDir, name, resourceFileProvider, filter) {
override val formattingType: FormattingType = NoFormattingType
val tableName: String = tableName ?: defaultTableName
protected val defaultTableName: String
get() = "Localizable"
}