I was expecting to be able to write iOS `UIViewCon...
# multiplatform
d
I was expecting to be able to write iOS
UIViewController
in Kotlin and have it conform to a Kotlin interface (an MVP 'View contract'). This is critical to implement the MVP UI pattern. Attempting hits the error "Mixing Kotlin and Objective-C super-types is not supported". Very unexpected and critical limitation of Kotlin/iOS 😞 Any ideas if this is likely to change in the future? For now considering creating an inline-class wrapper to fake 'implement' the ViewContract. Others doing similar?
k
I think most people doing this now are writing view controllers in swift. You can implement protocols that ultimately correspond to view interfaces written in kotlin. It’s not much of a limitation for me for that reason