Repository navigation
v0.2.1
Added
UIKitView,UIViewControllerView,AppKitViewandNSViewControllerViewtake asizingparameter.
NativeViewSizing.FitHeightsizes the embedded view to its content at the proposed width, so a paragraph of variable
length is neither cut nor followed by a gap.FitContentuses the content's size in both directions.Fill, the
default, keeps the previous behavior.- The same four functions take an
updatecallback 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