Apple's Swift Programming Language Now Open Source

As promised, Apple has officially made its Swift programming language open source, making the project available through Swift.org.

swift_org

We are excited by this new chapter in the story of Swift. After Apple unveiled the Swift programming language, it quickly became one of the fastest growing languages in history. Swift makes it easy to write software that is incredibly fast and safe by design. Now that Swift is open source, you can help make the best general purpose programming language available everywhere.

Announced at WWDC 2014 and launched alongside iOS 8 and OS X Yosemite a few months later, Swift marks a significant step forward from the Objective-C previously favored by Apple.

On December 3, 2015, the Swift language, supporting libraries, debugger, and package manager were published under the Apache 2.0 license with a Runtime Library Exception, and Swift.org was created to host the project. The source code is hosted on GitHub where it is easy for anyone to get the code, build it themselves, and even create pull requests to contribute code back to the project. Everyone is welcome, even just to file a bug report. There are excellent Getting Started guides available here on the site as well.

The project is governed by a core team of engineers that drive the strategic direction by working with the community, and a collection of code owners responsible for the day-to-day project management. Technical leaders come from the community of contributors and anyone can earn the right to lead an area of Swift. The Community Guidelines includes detailed information on how the Swift community is managed.

With the open sourcing of Swift, Apple has also released a Linux port to expand access to the language. Apple has also begun sharing design guidelines related to the upcoming Swift 3, setting the stage for "a more cohesive feel to Swift development."

Update: Apple has published a press release announcing the news and Apple's Senior VP of Software Engineering, Craig Federighi, has done an interview with Ars Technica on Apple's decision to make Swift open source.

Tag: Swift

Popular Stories

New Things Your iPhone Can Do in iOS 18

18 New Things Your iPhone Can Do in iOS 18.2

Wednesday November 27, 2024 5:05 am PST by
Apple is set to release iOS 18.2 in early December, bringing the second round of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update brings several major advancements to Apple's AI integration, including completely new image generation tools and a range of Visual Intelligence-based enhancements. There are a handful of new non-AI related feature controls incoming as...
iphone 16 pro models 1

12 Reasons to Wait for Next Year's iPhone 17

Friday November 29, 2024 5:17 am PST by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we sometimes get rumored feature leaks so far ahead of launch. The iPhone 17 series is no different – already we have some idea of what to expect from Apple's 2025 smartphone lineup. If you plan to skip...
iPhone 17 Pro Dual Tone Rectangle Feature 1

iPhone 17 Pro Already Rumored to Have These 8 New Features

Wednesday November 27, 2024 12:19 pm PST by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch for 10 more months, there are already plenty of rumors about the devices. An imaginative iPhone 17 Pro concept based on rumors Below, we recap key changes rumored for the iPhone 17 Pro models so far: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro ...
General Black Friday Deals 24 Blue Snowmen

The Best 50+ Black Friday Apple Deals Still Available on AirPods, iPads, MacBooks, and More

Thursday November 28, 2024 1:01 pm PST by
Black Friday 2024 is over, but you can still find great deals on numerous Apple devices this weekend. Right now, this includes big savings on AirPods, Apple Watch, MacBook Air, iPad, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. Specifically, in...
maxresdefault

The MacRumors Show: iPhone 17 Designs Revealed!

Friday November 29, 2024 9:34 am PST by
On this week's episode of The MacRumors Show, we discuss the recently leaked design of the iPhone 17 "Air" and iPhone 17 Pro. Subscribe to The MacRumors Show YouTube channel for more videos Earlier this week, a report from The Information's Wayne Ma revealed that the iPhone 17 Air will have a thickness of between 5mm and 6mm, which would make it the thinnest iPhone ever. In comparison, iPhone ...
airpods pro 2 gradient

AirPods Pro 3 Expected Next Year: Here's What We Know

Thursday November 28, 2024 3:30 am PST by
Despite being released over two years ago, Apple's AirPods Pro 2 continue to dominate the wireless earbud market. However, with the AirPods Pro 3 expected to launch sometime in 2025, anyone thinking of buying Apple's premium earbuds may be wondering if the next generation is worth holding out for. Apart from their audio and noise-canceling performance, which are generally regarded as...
new streaming black friday

Cyber Monday Streaming Deals Include Big Savings on Disney+, Hulu, Paramount+, and Peacock

Friday November 29, 2024 5:38 am PST by
Black Friday is over, but you can still find great savings on streaming memberships this weekend as we head into Cyber Monday. Some of the biggest services have great discounts for new and select returning members, including Disney+, Hulu, Paramount+, and Peacock. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a...
Apple AI Command Center Concept Mock 3

Apple Expected to Launch This All-New Device Next Year

Wednesday November 27, 2024 1:05 pm PST by
Apple is expected to kick off 2025 by launching an all-new smart home hub, also referred to as a "command center," as early as March. The hub is expected to feature around a six-inch display that can be attached to a tabletop base with a speaker, or mounted on a wall. The device is said to run a new "homeOS" operating system with a customizable widget-focused home screen, and it is expected...

Top Rated Comments

atari1356 Avatar
118 months ago
I've been programming almost exclusively in Swift for over a year now, and I write better, cleaner, safer code than with Objective-C. (especially with some of the additions they made with Swift 2.0) Love it.

Will be interesting to see how Swift is adopted on other platforms.
Score: 9 Votes (Like | Disagree)
Markoth Avatar
118 months ago
As I see it, Swift is an inferior language in most ways to most other languages. It has one thing going for it, which Obj-C had going for it too: you can write in the language, or you can't use Apple's App Stores (which means you can't publish on iOS at all).

Making it open source might fix a pain point - now it might end up being possible to write your code once in Swift and have it run everywhere - but only if people actually port it.

IDK. I'm sticking with C# in Unity 3D for cross platform game development and Python for server side code.
I'd recommend not digging your heels in on this issue, and reconsider. Swift results in far more stable code once you become familiar with the language and some of its new concepts (which admittedly does take some time!). You'll be thankful for taking the time do learn it in the long run!
Score: 8 Votes (Like | Disagree)
elmateo487 Avatar
118 months ago
While Swift surely has a long long way to go... Apple is moving fast, and I love it.

Swift is a breath of fresh air to code in.
Score: 5 Votes (Like | Disagree)
D.T. Avatar
118 months ago
I've been programming almost exclusively in Swift for over a year now, and I write better, cleaner, safer code than with Objective-C. (especially with some of the additions they made with Swift 2.0) Love it.

Will be interesting to see how Swift is adopted on other platforms.
Yeah, I just recently started a new app, ground up using Swift. I'm following most of my existing design patterns from my older apps written in Obj-C, and the improvements (old vs. new apps) are pretty astounding. :cool:
Score: 4 Votes (Like | Disagree)
dannyyankou Avatar
118 months ago
Did Taylor Swift write a letter to Apple?
Score: 4 Votes (Like | Disagree)
sledgehammer89 Avatar
118 months ago
Where is Xcode for iPad Pro for developing Swift Apps on iPad Pro?
Score: 3 Votes (Like | Disagree)