Thursday, June 20, 2024

JetBrains stabilizes Compose Multiplatform assets API


JetBrains has up to date its Compose Multiplatform declarative UI framework, stabilizing the multiplatform assets API, upgrading assist for iOS and Internet targets, and introducing an experimental navigation library based mostly on Jetpack Compose Navigation.

Compose Multiplatform 1.6.10 was introduced Could 23. Directions on getting began could be discovered at jetbrains.com.

The multiplatform assets API, now steady, offers extra flexibility and comfort to builders, JetBrains mentioned. Builders now can set up assets in any modules and supply units they want; assets not should be saved in commonMain. And Compose Multiplatform now takes care of publishing the required recordsdata 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 mentioned.

Elsewhere in Compose Multiplatform 1.6.10, a brand new experimental navigation library based mostly on Jetpack Compose Navigation allows 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 assist has been upgraded to beta within the new model, whereas Internet goal assist has moved from experimental to an alpha stage. Jetpack Compose performance carried out for different platforms now’s out there for Internet targets. That mentioned, there’s nonetheless an extended strategy to go along with the browser adaptation of most elements, JetBrains mentioned.

For iOS, work continues on efficiency enhancements and fixing points with Compose elements on iOS. Enhancements embody making popups, dialogs, and different widgets really feel extra natural. Interactions really feel extra pure due to 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 offers a standard LifecycleOwner implementation. The library extends Jetpack Compose performance to different platforms and helps observe lifecycle states. And JetBrains mentioned that assist for Compose growth 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.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
3,912FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles