Skip to main content

Apple releases Swift 4.1 with updates to the core language, new build options, more

Swift is Apple’s programing language designed from the ground up and coinciding with the other software releases today, Apple has pushed version 4.1 of Swift to developers…

Today, Apple is releasing Swift 4.1. The new update, albeit a small one, includes updates to the core language, new build options, and minor enhancements to Swift Package Manager and Foundation. Apple notes that code written in Swift 4.0 will be compatible with Swift 4.1.

This release provides more ways to configure your builds, including a new code size optimization and easier ways to specify target environment and platform support.

One of the more prominent features is a new optimization mode that will help developers greatly reduce the size of their source code. In addition, the update also improves support for a handful of generics.

A full list of features and changes can be found on the company’s Swift website.


Check out 9to5Mac on YouTube for more Apple news:

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel