My `build.gradle` ``` buildscript { ext.kotlin...
# kotlin-native
a
My
build.gradle
Copy code
buildscript {
    ext.kotlin_version = '1.2.51'
    ext {
        coroutines_version = "0.25.0"
    }
}

apply plugin: 'kotlin-platform-native'

sourceSets {
    main {
        component {
            baseName.set("NF")
            outputKinds = [FRAMEWORK]
            target 'ios_arm64', 'ios_x64'//, 'ios_arm32'
        }
    }
}

dependencies {
    compile "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:$coroutines_version"
    <...>
}
IosDisplayContext.swift
Copy code
import NF

@objc
class IosDisplayContext: NSObject, NFCoroutineDispatcher {

}
I’m getting error
Use of undeclared type 'NFCoroutineDispatcher'
. How can I use public API of maven dependency from my Swift code?
o
maybe better ask that on #coroutines ?
a
Ok