Repository navigation
v0.3.1
Added
- IntelliJ IDEA / Android Studio plugin (
intellij-plugin): Kotlin files with@Previewopen in a code | preview split
editor, with a gutter icon per preview. Previews are rendered with real SwiftUI on the iOS simulator by the new
renderComposeSwiftUIPreviewsGradle task, and again on every save.
Fixed
TextEditorView(TextEditor(text:))was read-only: bindings inside nested values were sent to SwiftUI as constants.
They now update the text and call the KotlinonTextChangecallback.
Install with the Gradle plugin in your shared KMP module:
plugins {
id("dev.nucleusframework.compose-swiftui") version "0.3.1"
}Library: dev.nucleusframework:compose-swiftui:0.3.1 on Maven Central.
Gradle plugin: dev.nucleusframework.compose-swiftui 0.3.1 on the Gradle Plugin Portal.
IDE plugin (previews in IntelliJ IDEA / Android Studio): download the zip below, then
Settings › Plugins › ⚙ › Install Plugin from Disk.
What's Changed
- IntelliJ plugin: render @Preview composables next to the code by @kdroidFilter in #1
- Fix read-only bindings in nested expressions (TextEditor) by @kdroidFilter in #2
New Contributors
- @kdroidFilter made their first contribution in #1
Full Changelog: v0.3.0...v0.3.1