o.semen
01/01/2019, 10:03 AMPresenter
in common module with the only method onClick()
. I’d like to call this method from UI. In actual implementation for Android I can just import Firebase
class and call method on it. But it is not the case for iOS actual implementation. Documentation states that
Objective-C frameworks and libraries can be used in Kotlin code if properly imported to the build (system frameworks are imported by default). See e.g. “Using cinterop” in Gradle plugin documentation. A Swift library can be used in Kotlin code if its API is exported to Objective-C with @objcDoes it means I have to create a
.def
file pointing to Firebase.h
? Where should I place it? What options should I specify?