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

JTF discovers Benue militant leader’s armoury

MAKURDI—The Joint Military and Police Security Task Force in Katsina-Ala Local Government Area of Benue State, yesterday, recovered 10 cartons of high calibre explosives, rocket launchers and hundreds of live ammunition from Gbishe, the country home of wanted militia leader, Terwase Agwaza, alias Gana. Also recovered from Gbishe was a power motorbike belonging to Agwaza, military uniforms and helmet, handsets and two sacks of weeds, suspected to be Indian hemp.

Google Announces New Camera Called Google Clips

The core of the camera is AI engine which does the processing part and gets smarter over time. Clips can detect people and subjects using machine learning that happens on the system itself.

Ambode’s Michael Jackson syndrome

GOVERNOR Akinwunmi Ambode’s urban renewal policy is fundamentally flawed. For one, it strives to recast a Nigerian city in Parisian or Washingtonian mold. Secondly, it fails to realise that Lagos does not have to look like Paris, New York or Washington DC to be a beautiful, functional and livable city. A city is not just an agglomeration of buildings, streets and public spaces cobbled together by architectural, engineering and urban planning standards. A city captures, encapsulates and expresses the totality of a people’s way of life. Not surprisingly, Western European cities have a similar character, a character that is different from (for example) Asian cities.

Is The Legend of Zelda: Breath of the Wild the best-designed game ever?

You wake up, it’s dark and you’re lying in a pool. You don’t remember how you got here. You stand up, stretch your aching limbs, walk towards the exit and out into the brilliant sunshine. As your eyes adjust to the light, the world comes slowly into focus – and it is