KMM – Casting a sealed class/interface in swift not possible – Ios swift
Within my KMM library I use sealed interfaces/classes to represent certain states/errors. I decided to use sealed interfaces/classes because these states must have different associated objects. In the Android code, this also works as expected without any problems. But in…