Hristijan
03/07/2024, 8:37 AMactual fun formatString(format: String, vararg args: Any?) : String = NSString(NSCoder()).stringByAppendingFormat(
format = format,
args
)
but it fails on compilation
error: type kotlin.Array<out kotlin.Any?> is not supported here: doesn't correspond to any C type
Kotlin 1.9.22, kmp compose 1.6.0Hristijan
03/07/2024, 8:40 AMactual fun formatString(format: String, vararg args: Any?) : String = NSString(NSCoder()).stringByAppendingFormat(
format = format,
args.toList()
)
it works
It worked previously, did anything change in the meantime 🤔