https://kotlinlang.org logo
#ios
Title
# ios
d

darkmoon_uk

10/17/2020, 10:03 AM
It looks like the Kotlin/iOS framework binding does not cover the iOS
Combine
framework? It should be supported from iOS 13... Anyone know if there's a reason for this, other than 'JetBrains haven't bound it yet?'. This raises the question of how manual a binding process the iOS frameworks have to go through - I assumed it would be automated.
j

Jurriaan Mous

10/17/2020, 10:47 AM
As far as I understood Combine is a full swift framework with no Objective-C api (unlike most others) and Kotlin is at this moment only able to interface to the ObjC world. Swift interoperability is on the roadmap but not yet planned for the next half year: https://kotlinlang.org/roadmap.html
d

darkmoon_uk

10/17/2020, 11:17 AM
@Jurriaan Mous, I should have considered that! Makes sense, thanks.
s

Sam

10/17/2020, 2:38 PM
You can give a Kotlin object to combine. You could also write some Swift wrappers that had @objc annotations to accomplish some small goals. Unfortunately Kotlin nor objc are first class citizens when it comes to combine despite the rumor that combine first started life as an ObjC framework.
👍 2