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

How To Connect Android or iOS Phone To Windows 10

The  Continue on PC  feature is currently available to Windows Insiders, but it’ll arrive for regular users once the update starts landing on their PCs. If you’re running an Insider build, you can use the steps mentioned in this post to connect your phone to Windows 10 PC.

Windows Subsystem For Linux Is Beta No More, Gets “Full Support” In Windows 10 Fall Creators Update

As we told you earlier, WSL on Windows 10  moved out of beta  in August. It still carries the beta tag in Windows 10 Creators Update. Also, it won’t require people to enable developer

Cybergadget New Dock With LAN Port For Nintendo Switch Available For Pre-order

A Japanese accessory maker Cybergadget is not very popular outside Japan, but if you are in search of a docking station for your Nintendo Switch, then take a look

Learn How To Activate iOS 11 Dark Mode

Apart from all the major iOS 11 features and changes, there are some hidden and minor features as well. In this release, Apple has included a feature named Smart Invert Colors, which is the closest you can get while looking for an iOS 11 dark mode.