Skip to main content

Apple releases open source version of Swift programming language

apple encryption court order news logo
As announced at the Worldwide Developers Conference back in June, Apple has made its Swift programming language open source. From here on out, its source code will be freely available to anyone interested in tinkering with it, and ongoing development will continue as a collaboration with the community.

Swift was created as an easy-to-use alternative to other languages that would produce concise, safe code. Development began internally back in 2010, with the first app created using Swift being a companion for the 2014 edition of the Worldwide Developers Conference.

Recommended Videos

Since then, the language has amassed a healthy user base, buoyed by its popularity among students and other people learning programming. Going open source means that its potential audience will be far greater, as coders working on projects outside of the iOS and OS X ecosystem will now be able to implement the language.

The Swift team noted that they were ‘excited by this new chapter’ in a blog post published on the official Swift website earlier today. The site offers a host of documentation for anyone looking to get acclimatised with Swift, as well as the all-important source code, which is hosted on a GitHub repository.

This open source release marks version 2.0 of the Swift language, but there’s already an opportunity to test out some functionality set for 3.0, according to 9to5Mac. Some core libraries published today are actually intended for a full release with the next version, but are being distributed now to aid development.

It remains to be seen how far the reach of Swift will be now that the language is open source, but the move makes a lot of sense on Apple’s part. If nothing else, it’s sure to promote good will with developers — but there’s a real chance that Swift could take off, and that presents a host of advantages to its creators.

Brad Jones
Brad is an English-born writer currently splitting his time between Edinburgh and Pennsylvania. You can find him on Twitter…
This $30,000 computer’s source code has just been released for free
1983: Apple Lisa launches, fails

Apple computers have a reputation for being expensive, but even the most decked-out MacBook Pro has got nothing on the Apple Lisa desktop, which has just turned 40 years old. If you wanted a Lisa back in 1983, it would set you back a cool $9,995 -- roughly $30,000 today.

To mark the computer’s 40th anniversary, the Computer History Museum (CHM) is releasing its source code for free. The move comes as part of the organization’s Art of Code series, which is aimed at preserving code from important milestones in the history of computing.

Read more
Beware — even Mac open-source apps can contain malware
A pair of glasses rests on a desk in front of multiple computer monitors filled with code.

Installing apps on a Mac is generally considered to be safer than doing so on Windows and open-source software is usually benign but there are exceptions to both of these assumptions that can do untold damage to your privacy and security.

A recent discovery by Trend Micro provides a startling example of this risk. An open-source app designed to help Mac owners with iPhone and iPad app signing has been altered to include a nasty hack that steals your Apple Keychain data. The original app is called ResignTool and it’s available for free on the popular open-source site, GitHub. The app is six years old and both the code and the ready-to-run app can be downloaded from GitHub. That isn’t the problem.

Read more
This EU law could force Apple to open up iMessage and the App Store
Someone holding an iPhone 14 with the display turned on.

The EU's Digital Markets Act (or DMA) has gone into force today. It could force Apple to open up the iPhone's iMessage and app-buying platforms to third-party apps and services. Companies that fall afoul of the act could be fined up to 20% of global turnover. Apple has previously criticized the DMA for being a "blunt instrument."

The DMA aims to allow smaller services to compete more equitably with larger ones. This means that companies with a certain number of users, labeled as gatekeepers, would have to make their platforms interoperable with smaller ones. Large platforms like Facebook or iMessage, for example, would be required to open up, while something like Signal could scrape by.

Read more