Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 04:30
· 23 commits to main since this release
740b2f4

Added

  • UIKitView, UIViewControllerView, AppKitView and NSViewControllerView take a sizing parameter.
    NativeViewSizing.FitHeight sizes the embedded view to its content at the proposed width, so a paragraph of variable
    length is neither cut nor followed by a gap. FitContent uses the content's size in both directions. Fill, the
    default, keeps the previous behavior.
  • The same four functions take an update callback that runs on every recomposition, to push Kotlin state into the
    embedded view.

Install with the Gradle plugin in your shared KMP module:

plugins {
    id("dev.nucleusframework.compose-swiftui") version "0.2.1"
}

Library: dev.nucleusframework:compose-swiftui:0.2.1 on Maven Central.
Gradle plugin: dev.nucleusframework.compose-swiftui 0.2.1 on the Gradle Plugin Portal.

Full Changelog: v0.2.0...v0.2.1