Apple allows open source community to tailor Swift to their needs

Cupertino unleashes programming language on GitHub

Apple Swift code logo

Apple has made its proprietary iOS and OS X development software Swift open source in a move that will allow developers to modify the language to suit their own purposes.

The Cupertino-based company has releasedSwift under an Apache 2.0 license andlaunched website yesterday. The project is now also hosted on GitHuband developers will be able to access not only the source code but also the Swift compiler, debugger, standard library, foundation libraries, package manager and REPL command-line environment.

Advertisement - Article continues below

Launched last year, Swift is aimed at making programming apps for iPhones, iPads and other Apple devices easier to do. Apps can also now be developed to run on other platforms, including Linux.

Apple also released its Swift Package Manager, a project it said would allow for "easily sharing and building code".

In a blog post, the company said: "Anyone can download the code and in-development builds to see what the team is up to."

"More advanced developers interested in contributing to the project can file bugs, participate in the community, and contribute their own fixes and enhancements to make Swift even better. For production App Store development, you should always use the stable releases of Swift included in Xcode, and this remains a requirement for app submission."

Advertisement - Article continues below

Apple also posted on GitHub an "evolution" document, detailing where Apple thinks Swift is heading as far as version 3.0 is concerned. Among the areas of focus for the next iteration are a stable ABI binary interface to "guarantee a level of binary compatibility moving forward", resilience to fix problems surrounding fragile binary interfaces, portability, system clean-up and documentation, and further refinements to the language.

Advertisement - Article continues below

Craig Federighi, Apple's senior vice president of Software Engineering said that by making Swift open source "the entire developer community can contribute to the programming language and help bring it to even more platforms".

"Swift's power and ease of use will inspire a new generation to get into coding, and with today's announcement they'll be able to take their ideas anywhere, from mobile devices to the cloud," he said.

Featured Resources

The case for a marketing content hub

Transform your digital marketing to deliver customer expectations

Download now

Fast, flexible and compliant e-signatures for global businesses

Be at the forefront of digital transformation with electronic signatures

Download now

Why CEOS should care about the move to SAP S/4HANA

And how they can accelerate business value

Download now

IT faces new security challenges in the wake of COVID-19

Beat the crisis by learning how to secure your network

Download now


Mobile Phones

Apple’s iOS 13.5 update targets coronavirus-related iPhone issues

22 May 2020
Mobile Phones

Apple reportedly delaying iPhone 12 launch until October

21 May 2020
mobile security

FBI and Justice Department accuse Apple of stalling terrorist probe

19 May 2020

Apple MacBook Pro 13in (2018) review: Perfection, redefined

18 May 2020

Most Popular

Microsoft Windows

Microsoft warns users not to install Windows 10's May update

28 May 2020
data breaches

EasyJet faces class-action lawsuit over data breach

26 May 2020
cyber security

Microsoft bans Trend Micro driver from Windows 10 for "cheating" hardware tests

27 May 2020