Filter
Exclude
Time range
-
Near
📣 #MultiplatformTip Have an Android app and wondering how you can use #KotlinMultiplatform to share business logic with your iOS app? The process is detailed in this article: jb.gg/kmp-integrate-in-exist… In a nutshell: 1️⃣ Make your code cross-platform 2️⃣ Make your cross-platform code work on iOS 3️⃣ Enjoy the results: update the logic only once 🏆
1
23
95
7,954
📣 #MultiplatformTip When building iOS apps, remember to include a privacy manifest, now required for App Store submissions. For detailed info on these changes and how to ensure your KMP iOS app’s compliance, see our full article ⤵️ kotlinlang.org/docs/apple-pr…

2
19
94
10,716
📣 #MultiplatformTip We’ve published a handy guide on testing with #KMP. Learn how to use the kotlin.test library to: ✅ Test common code ✅ Test platform-specific code ✅ Create and analyze test reports Find it here: 👉 jb.gg/kmp-testing
1
18
85
8,501
📣 #MultiplatformTip What is the difference between #KMP and Compose Multiplatform? 🤔 Kotlin Multiplatform is a technology by @JetBrains that allows you to write code once and reuse it on different platforms like Android, iOS, web, desktop, and server. Compose Multiplatform is a declarative framework for sharing UI 🎨 across platforms, based on Kotlin by JetBrains and Jetpack Compose by @Google, and enabled by Kotlin Multiplatform.
1
23
127
18,381
📣 #MultiplatformTip What features does SKIE support? Improved Kotlin/Swift interop for: ✅ Enums ✅ Sealed classes and interfaces ✅ Default arguments ✅ Global functions ✅ Interface extensions ✅ Overloaded functions ✅ Coroutines and flows Wow! 🥳
2
26
3,867
📣 #MultiplatformTip 🧑‍💻 While the JetBrains team is working on direct Kotlin-to-Swift export for #KMP, our friends 🤝 at @TouchlabHQ have developed a plugin called SKIE (skie.touchlab.co/) to further improve your experience in the meantime. See the full list of features below: 🧵👇
2
15
108
12,346
📣 #MultiplatformTip Our 2024 #KMP roadmap 🗺️ includes implementing direct Kotlin-to-Swift export. This initiative will eliminate the Objective-C bottleneck, allowing for broader Swift language support and more natural exporting of APIs. Find it here: 👇 blog.jetbrains.com/kotlin/20…
3
21
3,470
📣 #MultiplatformTip Do you want to know how your Kotlin shared API looks in Swift? 👀 Learn about how the current interop works and which workarounds will help you get the best out of it – refer to our Kotlin/Swift Interopedia: 👇 github.com/kotlin-hands-on/k…
1
30
139
11,524
📣 #MultiplatformTip Can you share View Models across platforms with #KMP? Yes, you sure can! 🎉 Here are some examples of Kotlin Multiplatform libraries: ✅ KMM-ViewModel github.com/rickclephas/KMM-V… ✅ Voyager – voyager.adriel.cafe/ (ScreenModel) ✅ Precompose – github.com/Tlaster/PreCompos… ✅ Decompose – github.com/arkivanov/Decompo… (InstanceKeeper)
4
36
165
20,652
📣 #MultiplatformTip Wondering how to make your Android code cross-platform? You’ll have to replace your JVM or Android dependencies with common Kotlin or #KMP dependencies. For example, don’t use this: ❌ java.util.Random().nextInt() Use this instead: ✅ kotlin.random.Random.nextInt()
📣 #MultiplatformTip Have an Android app and wondering how you can use #KMP to share business logic with your iOS app? The process is detailed in this article: jb.gg/kmp-integrate-in-exist… In a nutshell: 1️⃣ Make your code cross-platform 2️⃣ Make your cross-platform code work on iOS 3️⃣ Enjoy the results: update the logic only once 🏆
1
8
68
15,066
📣 #MultiplatformTip Have an Android app and wondering how you can use #KMP to share business logic with your iOS app? The process is detailed in this article: jb.gg/kmp-integrate-in-exist… In a nutshell: 1️⃣ Make your code cross-platform 2️⃣ Make your cross-platform code work on iOS 3️⃣ Enjoy the results: update the logic only once 🏆
1
11
78
25,664
📣 #MultiplatformTip ⛔ Before KMP, the “internal” keyword was used to restrict the use of code only inside their module. A module is a set of Kotlin files that are compiled together. 🚧 @HiddenFromObjC does not have this restriction, as it only excludes the code from the exported Objective-C APIs! However, it remains experimental for now.
📣 #MultiplatformTip ❓ Do you know the difference between the “internal” keyword and the annotation @HiddenFromObjC for excluding code from the exported Objective-C APIs? Post your answers below 👇 The correct answer will be revealed soon!
4
52
10,911
📣 #MultiplatformTip ❓ Do you know the difference between the “internal” keyword and the annotation @HiddenFromObjC for excluding code from the exported Objective-C APIs? Post your answers below 👇 The correct answer will be revealed soon!
3
1
41
21,335
#MultiplatformTip 📣 Do you want to know how to improve your Kotlin/Native compilation speed ⏩? See this article: kotl.in/native-improving-com… It includes tips like: ✅ Use the most recent version of Kotlin ✅ Avoid creating huge classes ✅ Preserve downloaded and cached components between builds ✅ How to optimize your Gradle configurations
1
14
70
16,671
#MultiplatformTip 📣 Need to perform dependency injection in your KMP app? Are you confused about which frameworks to use? You cannot use: ❌ Dagger ❌ Hilt You can use: ✅ Koin insert-koin.io/ ✅ Kodein github.com/kosi-libs/Kodein ✅ kotlin-inject github.com/evant/kotlin-inje…
5
44
260
38,792
#MultiplatformTip 📣 If you’re a Kotlin Multiplatform beginner, and you’re wondering what you can use in your project’s commonMain, the answer is only the following: ✅ Kotlin language features ✅ Kotlin standard library ✅ Kotlin Multiplatform libraries
1
11
97
15,067
#MultiplatformTip 📣 Sharing code with iOS but: ❌ Not using a monorepo? ❌ iOS devs not yet ready to contribute to shared code? Why not give KMMBridge by @TouchlabHQ a try? It helps distribute iOS binaries via CocoaPods and SPM 🥳 Find it here: github.com/touchlab/KMMBridg…
20
154
28,659
#MultiplatformTip 📣 Looking for a Kotlin Multiplatform library for your use case? Check out these community repositories that connect developers to tools, utilities, and libraries: 🥰 github.com/terrakok/kmp-awes… 🎉 libs.kmp.icerock.dev/ 🥳 github.com/AAkira/Kotlin-Mul…
34
116
19,354
#MultiplatformTip 📣Use the @ObjCName annotation with the swiftName parameter to rename Swift, but not Objective-C names.
2
3
28
10,701
#MultiplatformTip 📣 Your Kotlin API will be in a single Swift module, and the Kotlin/Native compiler will by default suffix classes and interfaces with the same names (but different packages) with underscores to differentiate them.
2
5
65
12,848