Compose Multiplatform brings auto-resizing to interop views

Learn extra at:

JetBrains has launched Compose Multiplatform 1.10.0, the most recent model of the Kotlin-based declarative framework for constructing shared UIs throughout a number of platforms. Unveiled January 13, the replace helps automated resizing for native interop components on each desktop and iOS deployments.

Resizing of those components means they now can adapt their structure to their content material, eliminating the necessity to calculate precise sizes manually and specify mounted dimensions prematurely. On the desktop,SwingPaneladjusts its measurement based mostly on the embedded part’s minimal, most well-liked, and most sizes. For iOS, UIKit interop views now assist sizing in accordance with the view’s becoming measurement (intrinsic content material measurement). This allows correct wrapping of SwiftUI views (through UIHostingController) and fundamental UIView subclasses that don’t rely upon NSLayoutConstraints.

Directions on getting began with Compose Multiplatform might be discovered at kotlang.org. Compose Multiplatform is an non-compulsory UI framework constructed atop Kotlin Multiplatform expertise, for constructing purposes for various platforms and reusing code. Compose Multiplatform purposes will run on iOS, Android, macOS, Home windows, Linux, and the online.

Leave a reply

Please enter your comment!
Please enter your name here