adplus-dvertising
Connect with us

Tech

JetBrains Compose Multiplatform for iOS Reaches Alpha

Published

 on

After adding support for desktop apps and the Web, JetBrains multiplatform declarative UI toolkit now runs on iOS in alpha.

Based on Google Jetpack Compose, recently updated with improved performance and extensions, Compose Multiplatform runs natively on Android and, thanks to Kotlin Multiplatform on Windows, Linux, macOS, and the Web, too. The addition of iOS extends Compose Multiplatform to all major OSes.

The approach followed by Compose Multiplatform is to provide the same API across all supported platforms, replicating Jetpack Compose APIs:

The APIs in Compose Multiplatform are the same ones that have already been tried and tested in Jetpack Compose. That means developers who have experience writing modern Android user interfaces using Jetpack Compose can transfer those skills directly to write a shared user interface with Compose Multiplatform, targeting iOS and beyond.

This includes state management, layout composition, and animations. For a number of features that are strictly OS-dependent, like loading resources, Compose Multiplatform provides its own higher-level abstractions to maximize portability.

300x250x1

On iOS, Compose Multiplatform uses canvas-based rendering, using the Skiko graphics library. Also known as Skia for Kotlin, Skiko is based on Skia, Google’s graphics library used for Chrome, ChromeOS, and Flutter.

This approach means that Compose Multiplatform apps have the same look and feel across all supported platforms, similarly to Flutter apps. Unlike Flutter, though, Compose Multiplatform provides Material and Material 3 widgets out of the box, so Compose Multiplatform apps will just look like plain-vanilla Android apps. While Material is the only widget look-and-feel currently supported on iOS, JetBrains has not yet made a final decision about whether to provide a native widget look-and-feel.

An important aspect of creating cross-platform apps is interoperability with the underlying OS SDK. Compose Multiplatform for iOS provides a two-way interop layer on top of UIKit, with two main classes, UIKitView and ComposeUIViewController. UIKitView enables embedding platform-specific widgets like maps, web views, media players, and camera feeds within a Compose UI. ComposeUIViewController can be used instead to embed Compose screens in UIKit and SwiftUI applications. This can be helpful to gradually convert an existing app into a Compose app.

To start working with Compose Multiplatform for iOS, you will need a machine running recent version of macOS, Xcode, Android Studio, and the Kotlin Multiplatform Mobile plugin. All additional dependencies can be managed through CocoaPods.

The best place to start is one of the project templates provided by JetBrains. Those include a basic iOS/Android app, an image viewer, a chat app, and many more. A number of tutorials are also available to guide you through using the most common UI elements in a Compose Multiplatform app.

 

728x90x4

Source link

Continue Reading

Tech

Calgary woman who neglected elderly father spared jail term

Published

 on

Article content

Leaving her elderly father on a basement floor for two days in a soiled adult diaper won’t mean jail for a Calgary woman.

300x250x1

Justice Indra Maharaj accepted a joint Crown and defence submission on Wednesday for a two-year-less-a-day conditional sentence order for Tara Picard to be followed by 12 months of probation.

Article content

Prosecutor Donna Spaner and defence counsel Shaun Leochko proposed a community-based term which will include eight months of 24-hour house arrest followed by a nightly curfew for the second eight months.

Advertisement 2

Article content

Maharaj also agreed with the lawyers to order Picard to commit 300 hours of community service over the length of the three-year sentence.

The Calgary Court of Justice noted that amount of community-service hours was “a lot” to commit to.

But Maharaj said it showed Picard, 52, was truly remorseful for her conduct towards her father, whom Postmedia is not identifying because of the embarrassing nature of the facts of the case.

“What that shows me is Ms. Picard does sincerely recognize what has happened here,” the judge said of her willingness to complete community service.

“What I interpret from that is Ms. Picard’s willingness to give back to the community.”

Picard pleaded guilty in January to charges of assault and failing to provide the necessaries of life to her 77-year-old father.

Court heard caregivers found the elderly Calgary man on the basement floor of his daughter’s southeast home wearing a soiled adult diaper.

At the time, Picard was responsible for her father’s day-to-day care after he was moved to her residence, Spaner, reading from a statement of agreed facts, told court at the time.

Advertisement 3

Article content

“He had a number of medical ailments, including non-insulin dependent diabetes, coronary artery disease, some early onset dementia-like symptoms and chronic alcoholism,” Spaner said.

“(He) had been living independently in a Calgary apartment building. Family members became concerned that he was not caring for himself safely.”

With the help of Alberta Health Services he was moved to a home where Picard resided.

A registered nurse assigned to his care attended the 38 Street S.E. home on Nov. 15, 2021, to drop off food bank supplies for him and was told he was sleeping downstairs.

When the nurse called about an hour and a half later and spoke to the man on the phone he said he was lying on the floor, had fallen and was unable to get up.

When she returned to the home with a co-worker she found the victim lying on his back on the floor.

“(He) said that he had been lying on the floor for two days,” Spaner said.

Leochko said Picard was overwhelmed by the situation she was thrust into.

“It really was more than she could handle,” he said.

Adblock test (Why?)

728x90x4

Source link

Continue Reading

Tech

Downhill Bikes of Sea Otter – Part 2

Published

 on

@juanhall: I gotta say, this was the most interesting bike in this post….love that Intense is experimenting with gearboxes…I can see it have a huge effect on DH bikes….thank god there’s still people pushing things. Now, they need to make an Enduro bike with the Pinion MGU!

 

728x90x4

Source link

Continue Reading

Tech

Important updates regarding the Bob-Birnie Arena

Published

 on

The City of Pointe-Claire would like to inform you that the Bob-Birnie arena will be closed for its annual maintenance as of Monday, April 29. The Annex rink will reopen to the public on Monday, May 13, and the arena’s Main rink will be accessible as of Monday, June 3.

Public skating will resume on May 13, and the summer public activities programming will begin on June 3 when both rinks have reopened to the public.

In addition to the annual maintenance of the facility, two renovation projects are also scheduled to start at the same time:

Installation of new sound systems

300x250x1

The City will be replacing its current sound systems in both the Main rink and Annex rink, to offer arena visitors a better overall experience, whether watching from the stands or participating in on-ice activities. This project is expected to be conducted throughout the month of May.

Renovation of locker rooms in the Main Rink

The City will also be renovating the five locker rooms located in the Main rink, to bring up to date the amenities currently available to participants. These renovations are expected to begin in early May and will be completed by mid-August.

For all information about the Bob-Birnie arena, visit the arena’s page on our website.

 

728x90x4

Source link

Continue Reading

Trending