I’m trying to make something similar to what is do...
# coroutines
j
I’m trying to make something similar to what is done in kotlinconf app - https://github.com/JetBrains/kotlinconf-app/blob/master/konfios/konfswift/ui/UI.swift but the problem is, there is no such class
Kotlinx_coroutines_core_nativeCoroutineDispatcher
in my ios framework. I’m using 1.0.0-RC1 coroutines. Maybe it changed the name or something?
v
cc @e5l
Name is the same, so probably it’s the problem in configuration
e
Where do you try to implement the dispatcher(swift or kotlin)?
j
I’ve tried to implement it in swift. The problem was that compiler excluded it from final framework. Thank’s to guys on other channel, I’ve added an empty class that uses dispatcher and now it’s in the framework 👍
Copy code
class DummyClass {
    // Needed for native compiler to include CoroutineDispatcher interface in final framework
    public val dummyDispatcher: CoroutineDispatcher? = null
}