Apple Announces Swift 2, Open Source for iOS, OS X and Linux - MacRumors
Skip to Content

Apple Announces Swift 2, Open Source for iOS, OS X and Linux

by

swift.pngApple today announced Swift 2, the latest version of its programming language for iOS, OS X and watchOS with all-new Whole Module Optimization technology. Apple executive Craig Federighi also announced that Swift will be open source and made available for Linux later this year.

Swift 2 has new features that will enable developers to write even better code, including advanced error handling, availability checking and syntax enhancements.

Top Rated Comments

chrono1081 Avatar
149 months ago
The news would be big if Apple was trying to create a cross platform language and tool set, like what Microsoft is doing. But they are not. While someone might adopt Swift for their own platform development (like Linux) you are not going to get Google or Microsoft using Swift, well maybe Google, but I am still sure at some level Apple would forbid that from happening.

If Apple wanted wider adoption then they should have made Swift for Visual Studio on Windows. There is like 1000 to 1 more people developing on Visual Studio, including ALL the enterprise and professional development that is on that platform. But then Microsoft has already taken care of that with Visual Studio 2015 and Xamarin support to build native iOS apps right in Visual Studio.

In fact Microsoft will do more for Apple then Apple is doing for themselves by opening up Swift. Having millions of developers with access to native iOS development on Visual Studio 2015, including a new Visual Studio client for OS X, is already way more exposure then Swift has gained to date. I can easily see far more professional and enterprise apps being developed on Visual Studio, targeting all platforms, then Swift still being used largely to cater to proprietary development for iOS and OS X.

But, even among my friends that develop on OS X, iOS, they don't use Swift themselves, say its nice but years away from being great.

The big news was Microsoft offering native iOS developent on Windows with Visual Studio 2015. This will do more to open up iOS development to a wider core of developers then Swift will ever be capable of.
There is a lot of misinformation in this post...

First off, Swift is open source now. That's not just a phrase, that comes with a set of rules meaning no, Apple can't prevent Google from using Swift if its open source.

Being open source means if Microsoft wants to adopt it in to Visual Studio they can, this isn't something Apple can do, they do not own Visual Studio and can't force Microsoft to adopt their stuff in the same way Microsoft can't up and develop .Net for Xcode.
Score: 12 Votes (Like | Disagree)
149 months ago
This is major news—just what many people were asking for. By bringing the language to Linux, Apple's finally tailoring Swift to beyond just their own users! Adoption's going to skyrocket, although I still haven't learned it yet :D.
Score: 9 Votes (Like | Disagree)
149 months ago
Apple's finally tailoring Swift
I see what you did there
Score: 8 Votes (Like | Disagree)
149 months ago
Btw, Apple just merged the two Developer memberships for iOS and OS X into one. If you were a member of one, now you are a member of both, at the 99$ annual price.
Score: 7 Votes (Like | Disagree)
NT1440 Avatar
149 months ago
Yes, he was fired for using Swift. MacRumors does not site their sources inside Apple. That affirms that I have no obligation to site mine.
.
I call ********, how do you get fired for using a new language unless that WASN'T what you were supposed to do? His superior said to him "I know you've been using SWIFT like we told you to...so you're fired"? Come on.
Score: 5 Votes (Like | Disagree)
mdelvecchio Avatar
149 months ago
Why Swift 2 and it's open source?

Notice how they did not mention adoption rate of Swift. Those I trust have told me it's adoption level has been very low. I know one guy fried from his job using Swift due to the instability of the language leading to release dates.

They tried the high road academic PARC types to come up with a next generation language and they fell short. The elimination of header files created way too much combining overhead than anticipated. Also the amount of pushback for even inside Apple was more than anticipated.
what are you talking about? can you post links to sustain your claim that Swift usage is very low? and that you know a guy who was "fried" from his job because, Swift?
Score: 5 Votes (Like | Disagree)

Popular Stories

iphone duo screen crack in store

Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge

Friday October 23, 2026 11:05 am PDT by
Some iPhone Duos are already experiencing hinge issues that cause display cracks, based on photos shared on Reddit and the MacRumors forums. Almost all of the display faults are right along the hinge, and most result in a line of bright pixels across one side of the screen. An iPhone Duo owner in Australia said his device cracked after being opened fewer than 20 times, and there was no...
Apple Music iPod Page Not Found

Apple Music Has a Hidden iPod You Can Play With

Friday October 23, 2026 7:11 am PDT by
Apple Music has a 404 page easter egg on the web: a functional iPod that appears when you load a page that does not exist, such as music.apple.com/macrumors. "Page Not Found," says Apple. "Give this a spin instead." Apple is clever with this. If you navigate to music.apple.com/ipod instead, the page says "Looking for something?" instead of "Page Not Found." The easter egg is only...
Apple Creator Studio iWork suite

Apple Pulls Keynote, Pages and Numbers From App Store [Update: Back]

Thursday October 22, 2026 11:01 am PDT by
Apple has temporarily removed Keynote, Pages, and Numbers from the App Store, just after releasing an update that added iPhone Duo support and a new Intelligent Assistant. It is not clear if the apps were removed intentionally, or if it is a bug. Apple has not said when the apps will be reinstated, but if it was in error, they should return soon. Update: The Mac versions are back without...
Latest Stories
Apple Stores Reportedly Rolling Out New Anti-Theft System for iPhones
Apple Stores Reportedly Rolling Out New Anti-Theft System for iPhones
5 hours ago
AirTag 2 Drops to New Low Price of $23 on Amazon
AirTag 2 Drops to New Low Price of $23 on Amazon
6 hours ago
New iMac and 14-Inch MacBook Pro With M6 Chip Expected This Week
New iMac and 14-Inch MacBook Pro With M6 Chip Expected This Week
6 hours ago
Apple Reportedly Announcing New MacBook Pro With OLED Touchscreen on Wednesday
Apple Reportedly Announcing New MacBook Pro With OLED Touchscreen on Wednesday
6 hours ago
Apple Wants to Fix Safari's Cramped Layout on iPhone Duo
Apple Wants to Fix Safari's Cramped Layout on iPhone Duo
15 hours ago
Instagram Launches Apple TV App With Reels and More
Instagram Launches Apple TV App With Reels and More
16 hours ago
Apple's 'Servant' Copyright Lawsuit Win Upheld on Appeal
Apple's 'Servant' Copyright Lawsuit Win Upheld on Appeal
16 hours ago
'Arguably Better Than Face ID': the iPhone Duo Touch ID Tip to Try
'Arguably Better Than Face ID': the iPhone Duo Touch ID Tip to Try
20 hours ago
Verizon Apologizes for iPhone Duo Pre-Order Delays, Giving Customers $100 Gift Card
Verizon Apologizes for iPhone Duo Pre-Order Delays, Giving Customers $100 Gift Card
1 day ago
Skip the Touch ID Scan: Unlock iPhone Duo With Apple Watch
Skip the Touch ID Scan: Unlock iPhone Duo With Apple Watch
1 day ago
iPhone Duo Fails JerryRigEverything's Dusty Durability Test
iPhone Duo Fails JerryRigEverything's Dusty Durability Test
1 day ago
Make iPhone Duo Volume Buttons Follow Screen Rotation
Make iPhone Duo Volume Buttons Follow Screen Rotation
1 day ago
iPhone Duo Teardowns Reveal Two Batteries and More
iPhone Duo Teardowns Reveal Two Batteries and More
1 day ago
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
M5 MacBook Air Returns to Prime Day Low With $200 Amazon Discount
1 day ago
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
Top Stories: Apple 'Pro and Tell' Debut, iPhone Duo Launch, and More
1 day ago
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
Apple Store Pickup System for iPhone Duo Just Went Live Again in U.S. and Canada
1 day ago
Apple Closes French Stores Ahead of Further Protests
Apple Closes French Stores Ahead of Further Protests
2 days ago
Apple Pushes Back on DOJ Request for More Evidence
Apple Pushes Back on DOJ Request for More Evidence
2 days ago
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
The iPhone Duo Can Be a Tiny Mac, a Toaster, and a Nintendo DS
2 days ago
Using an Apple Pencil With the iPhone Duo: What to Know
Using an Apple Pencil With the iPhone Duo: What to Know
2 days ago
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
Apple Store Pickup for iPhone Duo Starting to Resume But Very Limited
2 days ago
iPhone Duo Jailbroken on Launch Day
iPhone Duo Jailbroken on Launch Day
2 days ago
Apple Seeds Updated watchOS 27.2 Release Candidate
Apple Seeds Updated watchOS 27.2 Release Candidate
2 days ago
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
Apple Store in UK Reopens With New Design on iPhone Duo Launch Day
2 days ago
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
Crackgate? iPhone Duo Owners Report Screens Breaking Along the Hinge
2 days ago
iPhone Duo Brings Back Long Lines at Apple Stores
iPhone Duo Brings Back Long Lines at Apple Stores
2 days ago
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
The MacRumors Show: iPhone Duo Arrives, Touchscreen MacBooks Next
2 days ago
Apple Released iOS 27.1 for iPhone Duo Only
Apple Released iOS 27.1 for iPhone Duo Only
2 days ago
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
iPhone Duo: Open Two Apps Side by Side and Lock Them As an App Pair
2 days ago
iPhone Duo Launches With Carrier and Accessory Discounts Available
iPhone Duo Launches With Carrier and Accessory Discounts Available
2 days ago