Apple’s Swift programming language is now officially being extended to support Android app development with the creation of a dedicated Android Working Group within the Swift open-source project. This marks a significant evolution for Swift, which was initially introduced by Apple in 2014 as a modern language intended for iOS, macOS, watchOS, and tvOS.
Since then, Swift expanded to support Linux and Windows, and now it aims to include Android as well. The announcement from the Swift project details a structured approach to incorporating Android into Swift’s ecosystem.
The Android Working Group’s charter outlines specific responsibilities that include enabling Swift to be compiled and executed on Android without relying on unofficial modifications, enhancing its standard libraries for better compatibility with Android APIs, and developing native tools and workflows for developers targeting Android applications with Swift. Previously, developing Android applications in Swift relied on third-party solutions like the Scade framework or custom toolchains crafted by individual developers.
These methods often necessitated extensive configuration, lacked comprehensive support for Android APIs, and involved maintenance challenges due to inconsistencies with Swift updates. A primary objective of the new working group will be to improve official support for Android within the Swift distribution.
This includes eliminating the dependence on out-of-tree patches or community-maintained forks and ensuring compatibility with other officially supported platforms. The group also plans to recommend enhancements to core Swift libraries, such as Foundation and Dispatch, to align them more closely with Android’s conventions and behaviors.
Currently, Kotlin remains the dominant language for Android app development, having been designated as Google’s preferred language since 2017. The advancements in Swift’s support for Android could introduce new dynamics into the mobile development landscape.
Leave a Reply