talk-data.com
Topic
macos
4
tagged
Activity Trend
Compose Multiplatform makes it easy to build cross-platform desktop apps with Kotlin and Compose, but what about native APIs, like iCloud on macOS? Accessing such APIs isn't possible through the regular Compose Multiplatform toolchain. However, with a bit of "magic", we can turn dreams (or feature requests) into reality.\n\nIn this talk, we'll explore how to combine Kotlin/Native and the JNI (Java Native Interface) to bridge the gap between a JVM-based UI and native system features. We'll write Kotlin code, compile it into a native library, and call it back from Kotlin.\n\nYou'll learn how to build Kotlin/Native code into a native macOS dynamic library and integrate it into a Compose Multiplatform desktop app, unlocking access to iCloud and enabling features like backup and restore for your app’s data.
Take a peek behind the curtain at how Grammarly for macOS uses private APIs to replace text in Apple Notes and provide a flawless user experience. We’ll also talk about how to find and use private APIs on Apple platforms.
How we do feature experimentation in the macOS Grammarly app
- The basics: experiments, flags, holdouts, audience filters
- Development and testing
- Checking the metrics: analyzing some real cases
- Benefits and drawbacks
- Real-world examples