JetBrains has up to date its Compose Multiplatform declarative UI framework, stabilizing the multiplatform sources API, upgrading help for iOS and Internet targets, and introducing an experimental navigation library based mostly on Jetpack Compose Navigation.
Compose Multiplatform 1.6.10 was introduced Might 23. Directions on getting began could be discovered at jetbrains.com.
The multiplatform sources API, now steady, supplies extra flexibility and comfort to builders, JetBrains stated. Builders now can set up sources in any modules and supply units they want; sources now not need to be saved in commonMain. And Compose Multiplatform now takes care of publishing the required information for every platform. New experimental capabilities within the API permit fetching fonts and pictures as byte arrays, which ought to assist third-party libraries that want entry to Compose Multiplatform, the corporate stated.
Elsewhere in Compose Multiplatform 1.6.10, a brand new experimental navigation library based mostly on Jetpack Compose Navigation permits builders to make use of navigation hosts, graphs, and controllers to assist customers transfer between screens. Whereas nonetheless experimental, the navigation library covers many of the framework’s core performance.
iOS help has been upgraded to beta within the new model, whereas Internet goal help has moved from experimental to an alpha stage. Jetpack Compose performance carried out for different platforms now’s obtainable for Internet targets. That stated, there’s nonetheless an extended option to go together with the browser adaptation of most parts, JetBrains stated.
For iOS, work continues on efficiency enhancements and fixing points with Compose parts on iOS. Enhancements embody making popups, dialogs, and different widgets really feel extra natural. Interactions really feel extra pure because of scroll physics and native textual content fields, window insets, textual content choice, and a magnifying device.
Compose Multiplatform 1.16.1 additionally contains a new lifecycle library, which relies on Jetpack Lifecycle and supplies a typical LifecycleOwner implementation. The library extends Jetpack Compose performance to different platforms and helps observe lifecycle states. And JetBrains stated that help for Compose improvement has been improved “throughout the board” within the Fleet 1.35 IDE.
Compose Multiplatform 1.16.10 follows Compose Multiplatform 1.6.0, launched in late-February and that includes a UI testing API.
Copyright © 2024 IDG Communications, Inc.


