https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
t

tylerwilson

03/05/2020, 3:37 PM
Working on some common code shared between Android and iOS, using a sealed class. Looking at using sealedSubclasses to enumerate cases. I see that this method is only available on JVM and JS. Do we think this might/could be implemented for iOS one day? I understand it may need more reflection support that may not be possible, but curious whether it might be in the 1.4 roadmap…
👍 3
a

ankushg

03/05/2020, 6:06 PM
+1 — better sealed class support in iOS would be great for us, too
a

Artyom Degtyarev [JB]

03/06/2020, 9:30 AM
Hello, @tylerwilson! AFAIK, there is no such feature request on the list. If it’s possible, consider filing the ticket here(http://kotl.in/issue). Also, can you illustrate it with the use case, please? This would help a lot.
2 Views