Brian
11/02/2018, 9:39 AMSequence
) from Swift.
It seems, that the generated framework headers only include definitions for my code but misses a lot from the stdlib. So there actually is the compiled KotlinSequence
accessible but all the factory and extension functions are not -- which renders it pretty useless.
Is there a way, to make some or all types and methods available in a compiled native xcode framework? Any hints are much appreciated!
See also my question on stackoverflow: https://stackoverflow.com/questions/53103956/access-kotlin-standard-library-from-swiftsvyatoslav.scherbina
11/02/2018, 12:27 PMfun <T : Any> generateSequence(nextFunction: () -> T?): Sequence<T> = kotlin.sequences.generateSequence(nextFunction)
Brian
11/02/2018, 12:33 PMBrian
11/02/2018, 12:35 PMBrian
11/02/2018, 12:45 PMsvyatoslav.scherbina
11/02/2018, 2:49 PMSequence
.