Skip to main content

Apple releases open source version of Swift programming language

apple encryption court order news logo
Image used with permission by copyright holder
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
Former Digital Trends Contributor
Brad is an English-born writer currently splitting his time between Edinburgh and Pennsylvania. You can find him on Twitter…
Can open-ear headphones really cancel noise? Apple’s AirPods 4 surprised me
AirPods 4 on a stand at the Apple Glowtime event on September 9, 2024.

For years, the biggest feature separating Apple's entry-level AirPods from the AirPods Pro has been active noise cancellation, also known as ANC. When I learned that Apple might outfit a version of its new AirPods 4 earbuds with ANC, I was skeptical. Open-ear designs, which don't fully obstruct your ear canal, make it pretty tough to seal out noise. But now that I’ve had a chance to hear the open-ear AirPods 4 in action, I must admit, I’m surprised at how effective they are.

You may also want to reconsider if you tend to dismiss the idea of active noise canceling in an open-ear earbud.

Read more
A new definition of ‘open source’ could spell trouble for Big AI
Meta AI can generate images within a chat in about five seconds.

The Open Source Initiative (OSI), self-proclaimed steward of the open source definition, the most widely used standard for open-source software, announced an update to what constitutes an "open source AI" on Thursday. The new wording could now exclude models from industry heavyweights like Meta and Google.

"Open Source has demonstrated that massive benefits accrue to everyone after removing the barriers to learning, using, sharing, and improving software systems," the OSI wrote in a recent blog post. "For AI, society needs the same essential freedoms of Open Source to enable AI developers, deployers, and end users to enjoy those same benefits."

Read more
Apple just released another iOS 18 beta, and it could be an important one
An iPhone 15 Pro Max running iOS 18, showing its home screen.

There are only a few more weeks left until Apple is expected to reveal the iPhone 16 lineup and the public release of iOS 18. Apple has just released the seventh developer beta for iOS 18, and according to Bloomberg's Mark Gurman, it could be the last beta before the big launch next month.

The latest iOS 18 developer beta has the build number 22A5346a. It’s unclear exactly what is new with the build, as it just rolled out. The previous iOS 18 beta 6 had some changes, like a new Control Center toggle, significant tweaks to the Photos app, Dark Mode and tinting improvements, and more.

Read more