Apple Releases Swift 3.0, Breaks Compatibility with Previous Versions

Share

Apple has released Swift 3.0, the latest version of the programming language that it created as a lighter and less verbose alternative to the aging Objective-C.

This latest release introduces source-breaking changes that will render some of the apps coded in earlier versions of Swift incompatible with the most recent compiler.

The biggest changes were made to the core Swift Standard Library APIs, which now features a simplified syntax. This update inherently creates a lot of dead-weight in older apps, which will need to be re-written to support the new syntax.

Apple plans to include some automatic code migrators in future versions of Xcode to help developers upgrade their code from older Swift distributions.

Furthermore, Apple has also changed how the Objective-C-to-Swift import tool works. This tool now (obviously) produces Swift code according to the newer 3.0 syntax.

Developers that have migrated Objective-C apps to Swift 1.x and 2.x, can now reimport their a… (read more)

Source link

Remember to like our Facebook and follow us on Twitter @iOSMode for a chance to win a free iPad Pro every month!

Quick Links: Download iPhone & iPad Wallpapers | iPad Tutorials | iPhone Tutorials | Download iOS Games | Download iOS Apps