Apple's Swift programming language is now being officially extended to support Android app development through the establishment of a dedicated Android Working Group within the Swift open-source project. Originally introduced
Apple's Swift programming language is now being officially extended to support Android app development through the establishment of a dedicated Android Working Group within the Swift open-source project.


Originally introduced by Apple in 2014 as a modern programming language for iOS, macOS, watchOS, and tvOS, Swift has since expanded to include official support for Linux and Windows. The Swift project this week announced a formal effort to support Android as a target platform, enabling developers to use Swift to build applications for Google's mobile operating system using official tooling and infrastructure.

According to the Swift forums, the Android Working Group's charter outlines a clear set of responsibilities aimed at integrating Android into Swift's officially supported platform ecosystem. These include ensuring Swift can be compiled and run on Android without relying on unofficial forks or downstream modifications, enhancing Swift's standard libraries for better compatibility with Android APIs, and introducing native tools and workflows for developers targeting Android using Swift.

Historically, developing Android applications using Swift has been possible only through third-party solutions such as the Scade framework or via custom toolchains created by individual developers. These approaches often required a significant amount of custom configuration, lacked full support for Android APIs, and introduced maintenance burdens due to compatibility issues with new Swift releases.

One of the primary initial goals is to improve support for Android in the official Swift distribution, removing the need for out-of-tree patches or community-maintained forks, including establishing proper toolchain integration for Android targets and obtaining consistency with other officially supported platforms. The working group also plans to recommend enhancements to core Swift libraries, such as Foundation and Dispatch, so they better align with Android platform conventions and behaviors.

Android app development is currently dominated by Kotlin, which was announced as Google's preferred language for Android in 2017.
Tags: Android, Swift

This article, "Apple's Swift Working to Support Android App Development" first appeared on MacRumors.com

Discuss this article in our forums

original link


You may also be interested in this

Win a compact charger tha…

This week we teamed up with Kuxiu to put an X40 3-in-1 foldable magnetic wireless charger and stand in the hands of one lucky winner. (via Cult of Mac -

How to use Google Authent…

Beyond just making Twitter safer, here's how to shift away from SMS-based two-factor authentications and secure your online life properly, by using Google Authenticator on your iPhone.Google Authenticator is available

MacRumors Giveaway: Win a…

For this week's giveaway, we've teamed up with GRID Studio to offer MacRumors readers a chance to win a 15-inch MacBook Air. For those unfamiliar with GRID Studio, it is

Apple preps Apple TV+ app…

Apple is looking to hire a senior engineer to help build version of its Apple TV+ app for Android, a sign the company is finally bringing its streaming service to

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

A new iMessage bug is cau…

For some iPhone owners out there, a strange bug is potentially wreaking havoc on folks trying to text Android users.Messages iconThere are some iPhone users taking to social media to

Why is it still so hard t…

Macworld Following the release of the first-ever Rapid Security Response update, which brought important security fixes to billions of devices running iOS/iPadOS 16.4.1 and macOS 13.3.1, Apple on Tuesday issued

How to use Google Authent…

Beyond just making Twitter safer, here's how to shift away from SMS-based two-factor authentications and secure your online life properly, by using Google Authenticator on your iPhone.Google Authenticator is available
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.