Blog

Development

Reimplementation of Implicitly Unwrapped Optionals

Swift 4.1 reimplements implicitly unwrapped optionals (IUOs) so they act as regular optionals with a flag that allows automatic unwrapping when needed, rather than as a distinct type.

Monthly Updates

Monthly update #0335 • March 2018

Monthly update 335 • March 2018 • 2018-03-01 - 2018-03-31

    Development

    Swift 4.1 Released!

    Apple released Swift 4.1 as a minor update that maintains source compatibility with Swift 4.0. It adds generics features such as conditional conformance and synthesised Equatable and Hashable support.

    Books

    Food Rules by Michael Pollan

    In Food Rules: An Eater’s Manual, Michael Pollan simplifies the complex world of nutrition into easy-to-follow tips for eating well.

    Monthly Updates

    Monthly update #0334 • February 2018

    Monthly update 334 • February 2018 • 2018-02-01 - 2018-02-28

      Development

      Swift 4.2 Release Process

      Swift 4.2 serves as a step towards ABI stability in Swift 5, incorporating ABI changes for performance, bug fixes, and targeted improvements to compile-time speed.

      Development

      Code Size Optimization Mode in Swift 4.1

      Swift 4.1 adds a new optimisation mode called -Osize. This mode helps reduce code size by 5 to 30 percent in some projects.

      Monthly Updates

      Monthly update #0333 • January 2018

      Monthly update 333 • January 2018 • 2018-01-01 - 2018-01-31

        Development

        Swift Forums Now Open!

        The Swift project has moved its main discussions from mailing lists to Swift Forums. The old mailing lists are shut down and archived, with their content imported into the new system.

        Development

        Conditional Conformance in the Standard Library

        Swift 4.1 adds conditional conformances, which let generic types like Array and Optional conform to protocols such as Equatable or Hashable only when their elements do.

        Monthly Updates

        Monthly update #0332 • December 2017

        Monthly update 332 • December 2017 • 2017-12-01 - 2017-12-31

          Monthly Updates

          Monthly update #0331 • November 2017

          Monthly update 331 • November 2017 • 2017-11-01 - 2017-11-30

            Books

            The Midnight Line by Lee Child

            In The Midnight Line, Reacher finds a West Point ring in a pawn shop and tracks its owner, a female veteran caught in Wyoming’s opioid trade.

            Monthly Updates

            Monthly update #0330 • October 2017

            Monthly update 330 • October 2017 • 2017-10-01 - 2017-10-31

              Development

              Swift 4.1 Release Process

              Swift 4.1 is a source-compatible update to Swift 4.0 that adds minor language enhancements, improves the Swift Package Manager and Linux support, and includes quality fixes to the compiler and standard library, but it lacks binary compatibility due to ABI stabilisation work for Swift 5.

              Development

              Xcode 9.1 Improves Display of Fatal Errors

              Swift has features that let you set expectations in your code. If these are not met at runtime, the program stops.

              Development

              Dictionary and Set Improvements in Swift 4.0

              Swift 4 adds new methods and initialisers to dictionaries and sets that simplify tasks like grouping, filtering, and transforming data.

              Monthly Updates

              Monthly update #0329 • September 2017

              Monthly update 329 • September 2017 • 2017-09-01 - 2017-09-30

                Development

                Swift 4.0 Released!

                Apple released Swift 4 as a major update that builds on Swift 3 with better robustness, stability, source compatibility, standard library improvements, and new features like archival and serialisation.

                Monthly Updates

                Monthly update #0328 • August 2017

                Monthly update 328 • August 2017 • 2017-08-01 - 2017-08-31

                  Development

                  Swift Local Refactoring

                  Xcode 9 features a new refactoring engine that transforms Swift code either locally in one file or globally across files and languages.

                  Monthly Updates

                  Monthly update #0327 • July 2017

                  Monthly update 327 • July 2017 • 2017-07-01 - 2017-07-31

                    Monthly Updates

                    Monthly update #0326 • June 2017

                    Monthly update 326 • June 2017 • 2017-06-01 - 2017-06-30

                      Development

                      Swift Package Manager Manifest API Redesign

                      Swift 4 redesigned the Package.swift manifest API in the Package Manager to make it simpler and match the design rules.

                      Monthly Updates

                      Monthly update #0325 • May 2017

                      Monthly update 325 • May 2017 • 2017-05-01 - 2017-05-31