Skip to content

v0.3.1

Choose a tag to compare

@kdroidFilter kdroidFilter released this 15 Nov 12:10
· 5 commits to main since this release
2c6d9a0

Added

  • IntelliJ IDEA / Android Studio plugin (intellij-plugin): Kotlin files with @Preview open 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
    renderComposeSwiftUIPreviews Gradle 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 Kotlin onTextChange callback.

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

New Contributors

Full Changelog: v0.3.0...v0.3.1