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

(View all)
Avatar
68 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)
Avatar
68 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)
Avatar
68 months ago

Apple's finally tailoring Swift

I see what you did there
Score: 8 Votes (Like | Disagree)
Avatar
68 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)
Avatar
68 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)
Avatar
68 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)

Top Stories

Apple Takes Legal Action Against Small Company With Pear Logo

Saturday August 8, 2020 11:09 am PDT by
Apple is taking legal action against the developers of the app "Prepear" due to its logo, according to iPhone in Canada. Prepear is an app that helps users discover recipes, plan meals, make lists, and arrange grocery deliveries. The app is a spinoff of "Super Healthy Kids," and the founders claim that they are facing litigation from Apple. Apple reportedly takes issue with Prepear's logo, ...

Kuo: Global iPhone Shipments Could Decline Up to 30% If Apple Forced to Remove WeChat From App Store [Updated x2]

Sunday August 9, 2020 10:17 pm PDT by
In a worst-case scenario, Apple's annual global iPhone shipments could decline by 25–30% if it is forced to remove WeChat from its App Stores around the world, according to a new research note from analyst Ming-Chi Kuo viewed by MacRumors. The removal could occur due to a recent executive order aiming to ban U.S. transactions with WeChat and its parent company Tencent. Kuo lays out...

Google Maps Debuts New Apple Watch App and CarPlay Features

Monday August 10, 2020 9:16 am PDT by
Google today announced the launch of several features for Google Maps on Apple products, including new CarPlay functionality and a new Google Maps app that works on Apple Watch. The new Google Maps app for Apple Watch works similarly to the iOS app, allowing Apple Watch owners to get directions for a car, bike, public transit, or on foot. The app supports estimated arrival times and...

2020 iMac Teardown Reveals Internal Changes and Similarities

Saturday August 8, 2020 12:44 pm PDT by
A teardown video, shared by OWC, reveals the internal changes in the new 2020 27-inch iMac. The 2020 27-inch iMac was announced earlier this week with 10th-generation Intel Core processors, AMD Radeon Pro 5000 series graphics, up to 128GB of RAM, up to 8TB of storage, a 1080p front-facing FaceTime camera, a True Tone display with a nano-texture glass option, higher fidelity speakers, and...

Apple Seeds iOS 14 and iPadOS 14 Public Beta 4 to Testers

Thursday August 6, 2020 10:05 am PDT by
Apple today seeded new public betas of upcoming iOS 14 and iPadOS 14 updates to its public beta testing group. Today's software releases, which Apple labels as fourth betas to keep them in line with developer betas, are actually the third betas that Apple has provided and they come two weeks after the prior beta releases. Public beta testers who have signed up for Apple's beta testing...

Apple Believes This German Cycling Path Logo Infringes on Its Own Logo

Wednesday May 1, 2019 9:51 am PDT by
Apple recently objected to the logo of a new German cycling path in an appeal filed with the German Patent and Trademark Office, according to German outlets General-Anzeiger Bonn and Westdeutscher Rundfunk. Apple reportedly takes issue with the logo's green leaf and supposed "bitten" right side, attributes the company believes are too similar to its own logo. The logo, registered with the ...

Supposed iPhone 12 Display Unit Leaks

Thursday August 6, 2020 8:13 am PDT by
An image supposedly of an iPhone 12 display unit has been shared online by leaker "Twitter user Mr. White". Compared to images of an iPhone 11 Pro display piece, this new unit has a reoriented display connector, reaching up from the bottom of the display, rather than from the left-hand side on iPhone 11 Pro. This may be due to the logic board moving to the other side of the device. A...

Foxconn Reportedly Begins Seasonal Hiring Spree for iPhone 12 Production

Monday August 10, 2020 7:03 am PDT by
Apple's largest manufacturing partner Foxconn has begun its seasonal hiring spree to assist with iPhone 12 production, offering employees who recruit qualified applicants up to a 9,000 yuan bonus, according to Chinese media reports. As usual, Foxconn needs as many hands on deck as possible at its factory in Zhengzhou, China to assist with mass production of the upcoming iPhones. Apple is...

8 Third-Party Home Screen Widgets That You Can Try Out Now on iOS 14

Wednesday August 5, 2020 12:56 pm PDT by
One of the biggest new features of iOS 14 is Home Screen widgets, which provide information from apps at a glance. The widgets can be pinned to the Home Screen in various spots and sizes, allowing for many different layouts. When the iOS 14 beta was first released in June, widgets were limited to Apple's own apps like Calendar and Weather, but several third-party developers have begun to test ...

New 27-Inch iMac's Storage Affixed to Logic Board, 4TB and 8TB Configurations Have Expansion Connector

Friday August 7, 2020 7:46 am PDT by
Following a report from German blog iFun.de that claimed the new 27-inch iMac's flash storage is soldered to the logic board, MacRumors has obtained additional information in an internal document for Apple technicians. In the document, Apple says that the flash storage is indeed affixed to the logic board and cannot be removed. However, for the 4TB and 8TB configurations, Apple says that a...