Skip to main content

Apple Has Officially Released Swift 4.0 Programming Language


Swift 4 is now officially released! Swift 4 builds on the strengths of Swift 3, delivering greater robustness and stability, providing source code compatibility
with Swift 3, making improvements to the standard library, and adding features like archival and serialization.

Apple has called Swift 4.0 a major language release that aims to deliver better stability. It comes with Swift 3 code compatibility and also makes improvements to the standard library.

Swift 4.0 release includes a faster and easier to use String implementation that helps one retain Unicode correctness, adding support for different substring operations.
This update enables type-safe serialization to external formats along with the support for archival of struct and enum types.
A welcome change in Swift 4.0 comes in the form of two new language modes, i.e., Swift 3.2 and Swift 4.0. Now you don’t need to modify your code to use the new compiler version.
New workflow features and more complete API for Swift package have also been introduced to help you develop packages easily.
It’s also worth noting that Swift 4.0 ships as a part of Xcode 9. Official binaries for Ubuntu 16.10, Ubuntu 16.04 and Ubuntu 14.04 are available for download. Find Swift’s code here on GitHub.
You can find more set of changes here in the announcement post.

Comments

Follow Us

WHAT'S HOT

Google’s AI Can Create Code Better Than The Researchers Who Made It

Google developed AutoML to be an artificial intelligence that could help humans create other self-learning systems.

The MS Paint App Is Now Coming To The Windows Store

Just when the world started mourning  about the possible death  of the image editing grandpa, MS Paint, Microsoft has showered some mercy upon the not so feature rich tool. Earlier, It was known that Microsoft was going to deprecate MS Paint after the release of

Best Android Cleaner Apps You Need To Try Out Now

Cache files pile up over time and need to be cleared. Also, junk from ads and image thumbnails take up a lot of space. Android cleaner apps do a good job of finding unnecessary files and

Reddit Transforms Into a Social Network But It Has Only ‘Three Users’

Reddit is working on social network-styled user profiles allowing Redditors to post content in their name and follow other profiles. Reddit’s co-founder Alexis Ohanian, Shitty_Watercolour, and Riot Games are the three users who have been given a profile each for the alpha testing. User profiles will roll out to all the users in the coming months.