The first preview release of the Swift SDK for Android was published this week, allowing developers to build Android apps in Swift with official tooling and making it easier to
The first preview release of the Swift SDK for Android was published this week, allowing developers to build Android apps in Swift with official tooling and making it easier to share code across iOS and Android.


The SDK enables Android apps to be built in Swift using officially supported tooling rather than community workarounds. In June, it was announced that Apple's Swift programming language would be officially extended to support Android app development through the establishment of a dedicated Android Working Group within the Swift open-source project.

Android interoperability is handled by swift-java, which can automatically generate bindings between Java and Swift so developers can use Swift code alongside existing Android APIs and Java code. The Swift Package Index now marks packages with Android support and says over 25% of all packages already build on Android, giving developers a base of reusable code.

The Swift SDK for Android is already available in nightly preview form bundled with the Swift for Windows installer or as a separate download for Linux and macOS users. A new Getting Started guide with end-to-end setup instructions and a set of example Android projects written in Swift to illustrate complete workflows is also available.

The group is preparing a vision document to set future priorities and is tracking progress on a public project board.
Tags: Android, Swift

This article, "Developers Can Now Make Android Apps With Apple's Swift" first appeared on MacRumors.com

Discuss this article in our forums

original link


You may also be interested in this

Create pro-quality videos…

Macworld Looking for an easy way to improve your webcam output without having to invest a lot of money on software and equipment? Then FineCam Pro is exactly what the

The green bubble problem …

Image: Apple Apple has spent years slowly making green bubbles feel like a worse kind of message — no typing indicators, tiny photos, no end-to-end encryption — but those constraints

Apple teams up with Googl…

Macworld On Tuesday, Apple and Google announced a joint initiative to prevent the misuse of Bluetooth online tracking devices, such as Apple’s AirTag. The two companies have developed a specification

Sony’s comfortable WF-C70…

The entry-level WF-C700N come in four colors, including two colorful pastel hues. | Photo by Chris Welch / The Verge The old “times have changed” applies to a lot of things

Apple Arcade FAQ: ‘Millio…

Macworld Gaming subscription services are all the rage now, but Apple Arcade isn’t quite like Google Stadia or Xbox Game Pass. So if you’ve got questions about it, we’ve got

HBO’s no good very bad re…

It's not TV, it's HBO. No, sorry, it's HBO Go. And also HBO Now. But now it's HBO Max, except wait, now it's not HBO at all? It's just Max?

Apple iPhone owners are 7…

Asymco‘s Horace Dediu has done the math and arrived at the conclusion that Apple iPhone owners are 7.4 times more valuable than those who settle for wannabe iPhones loaded with

Google’s New Anti-S…

Back in May, Google announced plans to introduce a new safety feature that would alert Android users about nearby unknown Bluetooth trackers, including AirTags, preventing people from being stalked with
X

A whimsical homage to the days in black and white, celebrating the magic of Mac OS. Dress up your blog with retro, chunky-grade pixellated graphics to evoke some serious computer nostalgia. Supports a custom menu, custom header image, custom background, two footer widget areas, and a full-width page template. I updated Stuart Brown's 2011 masterpiece to meet the needs of the times, made it responsive , got dark mode, custom search widget and more.You can download it from tigaman.com, where you can also find more useful code snippets and plugins to get even more out of wordpress.