swift.pngApple has announced it is on track to release Swift 3.1 in the spring of 2017, corresponding to some point between March and June.

Swift 3.1 is intended to be source compatible with Swift 3.0 and will contain a few enhancements to the core programming language.

Improvements will also be made to the Swift Package Manager, Swift on Linux, compiler, and Standard Library.

Swift 3.1 development should conclude around January 16, 2017 for major changes, at which point Apple's focus will turn to the development of Swift 4.

Swift is Apple's open source programming language for macOS, iOS, watchOS, tvOS, and Linux. Swift 3.0 was released in September with major improvements and refinements to the core language and Standard Library, major additions to the Linux port of Swift, and the first official release of the Swift Package Manager.

Tag: Swift

Top Rated Comments

CarlJ Avatar
96 months ago
My opinion of Swift was that it is very regimented. You have to say the right thing, in the right way, or you get nothing.

It seems too hard, too 'fascist'. You have to do it their way. C was all about getting things done. If you really needed something done, you could lift heavy things with a small amount of code, and the language wasn't like a 'grammar Nazi', thumping you for every little thing. My first program in Swift wouldn't run because I did some little stupid thing wrong. I was surprised it cared. I was put off by it's attention to syntax details. It smacked of archaic languages like BASIC, and perhaps COBOL. YUCK!!!
If your reaction to a programming language is that it cares too much about getting details right, programming is not for you.
Score: 5 Votes (Like | Disagree)
Joe Rossignol Avatar
96 months ago
Apple is doing a lot of things right. But like all other news sites, MR just chooses to report more negative news bc it generates more activities then positive ones. It's a pretty sad strategy though.
I respect your opinion, but it is entirely false. We do not publish doom and gloom stories for clicks or to fulfill any other agenda. We truly try to report any news that is of any significance—good or bad. We really appreciate when our readers keep up informed by sending tips to tips@macrumors.com.
Score: 4 Votes (Like | Disagree)
obitow Avatar
96 months ago
How about a 'lifetime update' ebook for Swift and Ojc-C for 'x' number of dollars...
I learned Swift with Apple's free iBook ('https://itunes.apple.com/us/book/swift-programming-language/id881256329'). They update it with every new release.
Score: 4 Votes (Like | Disagree)
joshwenke Avatar
96 months ago
Finally; great to hear Apple is doing something right.
Score: 4 Votes (Like | Disagree)
jeremy.pereira Avatar
96 months ago
Objective-C used to be my favourite language but now I've switched to Swift, I would never go back. It's so much quicker to express an idea in Swift and so much easier to read it later. Not only that but my compiling code is much more likely to be correct.

There have been some mis-steps. Some of them are:

* The ABI is not defined yet so you can't make a pure Swift shared object library. This was one of the goals for Swift 3 but they blew it by spending too much time implementing WIBNI features suggested on Swift Evolution.
* An obsession with catching every error at compile time. This leads to nannying constructs in the language that are sometimes more trouble than they are worth. The prime example is access modifiers for object properties and methods. They are a complete mess in Swift 3.
* Old World snobbery leads to deprecating or perhaps just frowning on features that have been immensely useful in the past. The protocol oriented programming fascism - I mean fashion - is particularly annoying because it leads to people recommending highly convoluted opaque POP code to implement ideas that were quite naturally expressible with classes purely on the basis that Dave Abrahams gave a really cool talk at WWDC 2015 using one example cherry picked for the purpose. Also removal of ++ and -- on the grounds that "some people don't understand them" was pretty bad.
* The generics system is an overcomplicated clusterfsck.
* Frequent code breaking changes. At some point developers are going to get really pissed off at having to refactor all their code every time a new release of Swift comes out. This is in complete contrast to Objective-C where there's a good chance that a 64 bit program written for OS X 10.5 will still compile and run today. It doesn't help that each release of Xcode only targets one version of Swift (or exceptionally two, if you are lucky).

Fortunately, the first and last bullet points will go away at some point soon, in fact the last point is probably almost irrelevant already. The fourth point is being addressed slowly, but I think there will always be a problem with points 2 and 3. There's no shortage of people coming on Swift Evolution and saying "I keep making mistake x because of feature y, therefore feature y should be removed".

Anyway, despite all of the above, Swift is still a really nice language in which to write code. and the open sauce means it should get a bit more traction outside of the Apple ecosphere.
Score: 3 Votes (Like | Disagree)
buckwheet Avatar
96 months ago


And honestly, I think even though Apple pushes it, it's a really bad idea to start any project in Swift right now. There's eventually going to be some techtonic shift that's going to change the game entirely. Or in other words, what you see and learn today, won't apply tomorrow. They should be marketing this as a hobby and the default language for iOS and Mac dev for now.
Totally disagree. What you're saying may have been true a year ago, but not today. And to be fair, Swift is actually simple for doing simple things. But if you have more complex requirements, it can also be very flexible, and with that flexibility comes complexity. That's the part that can be tricky to learn.

Another point is that Swift was designed to help write safe, stable software. That's why it's picky about types, nils, and so on. It may be trickier to learn, at first, than Java, but it's easier to make something stable, and harder to get into the strange and mysterious crashes and undefined behavior that you can fall into with Java (or Objective-C)... thus making it easier to write actual software (not just code).
Score: 2 Votes (Like | Disagree)

Popular Stories

Apple Silicon AI Optimized Feature Siri

Apple Releases Open Source AI Models That Run On-Device

Wednesday April 24, 2024 3:39 pm PDT by
Apple today released several open source large language models (LLMs) that are designed to run on-device rather than through cloud servers. Called OpenELM (Open-source Efficient Language Models), the LLMs are available on the Hugging Face Hub, a community for sharing AI code. As outlined in a white paper [PDF], there are eight total OpenELM models, four of which were pre-trained using the...
iOS 18 Siri Integrated Feature

iOS 18 Rumored to Add These 10 New Features to Your iPhone

Wednesday April 24, 2024 2:05 pm PDT by
Apple is set to unveil iOS 18 during its WWDC keynote on June 10, so the software update is a little over six weeks away from being announced. Below, we recap rumored features and changes planned for the iPhone with iOS 18. iOS 18 will reportedly be the "biggest" update in the iPhone's history, with new ChatGPT-inspired generative AI features, a more customizable Home Screen, and much more....
maxresdefault

Apple Announces 'Let Loose' Event on May 7 Amid Rumors of New iPads

Tuesday April 23, 2024 7:11 am PDT by
Apple has announced it will be holding a special event on Tuesday, May 7 at 7 a.m. Pacific Time (10 a.m. Eastern Time), with a live stream to be available on Apple.com and on YouTube as usual. The event invitation has a tagline of "Let Loose" and shows an artistic render of an Apple Pencil, suggesting that iPads will be a focus of the event. Subscribe to the MacRumors YouTube channel for more ...
Apple Vision Pro Dual Loop Band Orange Feature 2

Apple Cuts Vision Pro Shipments as Demand Falls 'Sharply Beyond Expectations'

Tuesday April 23, 2024 9:44 am PDT by
Apple has dropped the number of Vision Pro units that it plans to ship in 2024, going from an expected 700 to 800k units to just 400k to 450k units, according to Apple analyst Ming-Chi Kuo. Orders have been scaled back before the Vision Pro has launched in markets outside of the United States, which Kuo says is a sign that demand in the U.S. has "fallen sharply beyond expectations." As a...
iPad And Calculator App Feature 1

Apple Finally Plans to Release a Calculator App for iPad Later This Year

Tuesday April 23, 2024 9:08 am PDT by
Apple is finally planning a Calculator app for the iPad, over 14 years after launching the device, according to a source familiar with the matter. iPadOS 18 will include a built-in Calculator app for all iPad models that are compatible with the software update, which is expected to be unveiled during the opening keynote of Apple's annual developers conference WWDC on June 10. AppleInsider...
macbook pro purple february

Best Buy Introduces Record Low Prices on Apple's M3 MacBook Pro for Members

Thursday April 25, 2024 7:41 am PDT by
Best Buy is discounting a collection of M3 MacBook Pro computers today, this time focusing on the 14-inch version of the laptop. Every deal in this sale requires you to have a My Best Buy Plus or Total membership, although non-members can still get solid second-best prices on these MacBook Pro models. Note: MacRumors is an affiliate partner with Best Buy. When you click a link and make a...