From 2af4135668010b320d6278480b4a4beb00800272 Mon Sep 17 00:00:00 2001 From: alfredo-toledano Date: Sat, 30 Nov 2024 22:14:16 +0100 Subject: [PATCH] doc(docs.topics.native.appleFramework): add notes --- docs/topics/native/apple-framework.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/topics/native/apple-framework.md b/docs/topics/native/apple-framework.md index 6e8256e0068..bf7c3cd3c3a 100644 --- a/docs/topics/native/apple-framework.md +++ b/docs/topics/native/apple-framework.md @@ -1,14 +1,14 @@ [//]: # (title: Kotlin/Native as an Apple framework – tutorial) -> The Objective-C libraries import is [Experimental](components-stability.md#stability-levels-explained). -> All Kotlin declarations generated by the `cinterop` tool from Objective-C libraries -> should have the `@ExperimentalForeignApi` annotation. -> -> Native platform libraries shipped with Kotlin/Native (like Foundation, UIKit, and POSIX), -> require opt-in only for some APIs. In such cases, you get an IDE warning. -> -{type="warning"} +* Objective-C libraries + * import [Experimental](/docs/topics/components-stability.md#stability-levels-explained) + * Kotlin declarations / generated from Objective-C libraries -- via the -- `cinterop` tool + * SHOULD have the `@ExperimentalForeignApi` annotation +* Native platform libraries / shipped with Kotlin/Native (like Foundation, UIKit, and POSIX) + * require opt-in only / SOME APIs + +* TODO: Kotlin/Native provides bi-directional interoperability with Objective-C/Swift. Objective-C frameworks and libraries can be used in Kotlin code. Kotlin modules can be used in Swift/Objective-C code too.