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 theSwift.org 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.

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."

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.

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

Shining light on new 'cool' cloud technologies and their drawbacks

IONOS Cloud Up! Summit, Cloud Technology Session with Russell Barley

Watch now

Build mobile and web apps faster

Three proven tips to accelerate modern app development

Free download

Reduce the carbon footprint of IT operations up to 88%

A carbon reduction opportunity

Free Download

Comparing serverless and server-based technologies

Determining the total cost of ownership

Free download

Recommended

MacBook Pro owners report MagSafe charging issues
Laptops

MacBook Pro owners report MagSafe charging issues

30 Nov 2021
Apple's mixed reality headset could debut in 2022
augmented reality (AR)

Apple's mixed reality headset could debut in 2022

29 Nov 2021
Apple sues NSO Group over Pegasus attacks on its customers
spyware

Apple sues NSO Group over Pegasus attacks on its customers

24 Nov 2021
Apple launches self-repair scheme for iPhones and Macs
Business strategy

Apple launches self-repair scheme for iPhones and Macs

18 Nov 2021

Most Popular

How to move Microsoft's Windows 11 from a hard drive to an SSD
Microsoft Windows

How to move Microsoft's Windows 11 from a hard drive to an SSD

24 Nov 2021
What should you really be asking about your remote access software?
Sponsored

What should you really be asking about your remote access software?

17 Nov 2021
Best MDM solutions 2020
mobile device management (MDM)

Best MDM solutions 2020

12 Nov 2021