Hi, Is there any way I can create a instance of a ...
# multiplatform
k
Hi, Is there any way I can create a instance of a ktclass by using kotlin reflect internally in a ios framework?
It works for the android part of course but does not compile for iosMain
g
afaik this is not currently possible in kotlin/native
k
So how do one create instances of a class based on a class type the correct way in that case? Sorry if it is obvius😂
I ended up making a when clause for the classes insted. Problem solved