85 posts with the tag “Swift”

See all tags

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.

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.

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.

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.

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.

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.

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.

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.

Development

Swift Source Compatibility Test Suite Now Available

Apple announced a new Swift source compatibility test suite to help keep source compatibility in future releases.

Development

Swift 3.1 Released!

Apple released Swift 3.1 as a minor update that keeps source compatibility with Swift 3.0.

Development

Swift 4 Release Process

Swift 4 is a major release set for fall 2017. It focuses on source stability for Swift 3 code and essential features for binary stability, with big updates to generics and the String type.

Development

Faster Mix-and-Match Builds with Precompiled Bridging Headers

Build times in Xcode projects that mix Objective-C and Swift rise due to the Swift compiler re-processing large bridging headers for each Swift file.

Development

Swift Evolution Status Page Now Available

Apple announced the new Swift Evolution status page as a central spot for details on proposed changes to Swift.

Development

Swift 3.1 Release Process

Swift 3.1 aims to maintain source compatibility with Swift 3.0 while adding minor language enhancements, improvements to the Swift Package Manager, better Linux support, and general fixes to the compiler and standard library, with a planned release in spring 2017.

Development

Server APIs Work Group

Swift grew popular for server use after its Linux port, sparking frameworks like Kitura, Vapor, Perfect, and Zewo.

Development

Whole-Module Optimization in Swift 3

Whole-module optimisation boosts Swift code performance by compiling all files in a module together, which allows the compiler to inline functions, specialise generics for specific types, and remove unused code across files.

Development

Swift 3.0 Released!

Apple released Swift 3.0 as the first major version since the language became open source. This update brings big changes to the core language and standard library through many Swift Evolution proposals, but it does not work with code from Swift 2.2 or 2.3.

Development

Xcode Playground Support

Apple introduced Xcode Playground Support as part of the open source Swift community, which lets developers build a toolchain to use the latest Swift features in Xcode 8 playgrounds.

Development

Swift 3.0 Preview 1 Released!

Apple announced Developer Preview 1 of Swift 3.0, which offers stable builds to test the work-in-progress version before the final release.

Development

Swift 2.3

Apple announced Swift 2.3 as a minor update from Swift 2.2.1. The main change is that it works with Apple’s macOS 10.12, iOS 10, watchOS 3, and tvOS 10 SDKs, and it updates LLVM and Clang to match Swift 3.

Development

Swift 3.0 Release Process

Swift 3.0 marks a major release without source compatibility to Swift 2.2. It brings key changes to the language and standard library through the evolution process.