https://kotlinlang.org logo
Title
k

Konstantin Petrukhnov

06/06/2018, 11:05 AM
Is there way to build framework for swift and not for ObjectiveC?
o

olonho

06/06/2018, 11:27 AM
frameworks produced by K/N could be consumed by both Swift and Objective-C, and it containes Swift-specific annotations
s

spierce7

06/06/2018, 2:45 PM
With the next major Swift release, they are taking steps to solidify their ABI. Once Swift has a decided ABI, will Kotlin compile directly to Swift?
o

olonho

06/06/2018, 3:40 PM
if there will be enough motivation to switch to Swift framework - we could, but generally allowing to use framework from both Objective-c and Swift looks like an advantage
👍 1
u

uli

06/07/2018, 11:39 AM
Generics could be one motivation
s

Sam

06/11/2018, 11:40 AM
Kotlin/Java generics are more like ObjC generics. It would be better to have Apple increase the availability of them throughout ObjC rather than limiting them to collection types.
u

uli

06/12/2018, 5:17 AM
Oh, let's ask them to do that 😁
s

spierce7

06/12/2018, 12:59 PM
lol, they definitely won't
s

Sam

06/12/2018, 2:14 PM
It’s already there just not documented publicly and not very user friendly.