From a25c4f97f549165e85b59f8146e3288d32f4f7a6 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Thu, 4 Oct 2018 16:02:50 +0300 Subject: [PATCH] Fix references in OBJC_INTEROP.md (#2170) --- OBJC_INTEROP.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OBJC_INTEROP.md b/OBJC_INTEROP.md index 4b8ceb0bed0..25f600c5bf3 100644 --- a/OBJC_INTEROP.md +++ b/OBJC_INTEROP.md @@ -8,14 +8,14 @@ Swift/Objective-C. Kotlin/Native provides bidirectional interoperability with Objective-C. 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. "Interop libraries" in -[Gradle plugin documentation](GRADLE_PLUGIN.md#building-artifacts). +See e.g. "Using cinterop" in +[Gradle plugin documentation](GRADLE_PLUGIN.md#using-cinterop). A Swift library can be used in Kotlin code if its API is exported to Objective-C with `@objc`. Pure Swift modules are not yet supported. Kotlin modules can be used in Swift/Objective-C code if compiled into a -[framework](GRADLE_PLUGIN.md#framework). See [calculator sample](https://github.com/JetBrains/kotlin-native/tree/master/samples/calculator) -for an example. +framework (see "Targets and output kinds" section in [Gradle plugin documentation](GRADLE_PLUGIN.md#targets-and-output-kinds)). +See [calculator sample](https://github.com/JetBrains/kotlin-native/tree/master/samples/calculator) for an example. ## Mappings