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.
Swift has features that let you set expectations in your code. If these are not met at runtime, the program stops.
Swift 4 adds new methods and initialisers to dictionaries and sets that simplify tasks like grouping, filtering, and transforming data.
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.
Xcode 9 features a new refactoring engine that transforms Swift code either locally in one file or globally across files and languages.
Swift 4 redesigned the Package.swift manifest API in the Package Manager to make it simpler and match the design rules.
Apple announced a new Swift source compatibility test suite to help keep source compatibility in future releases.
Apple released Swift 3.1 as a minor update that keeps source compatibility with Swift 3.0.
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.
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.
Apple announced the new Swift Evolution status page as a central spot for details on proposed changes to Swift.
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.
Swift grew popular for server use after its Linux port, sparking frameworks like Kitura, Vapor, Perfect, and Zewo.
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.
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.
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.
Apple announced Developer Preview 1 of Swift 3.0, which offers stable builds to test the work-in-progress version before the final release.
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.
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.
Swift 2.2 adds features such as compile-time version checks with #if swift(>=3.0), checked selectors using #selector to avoid runtime errors, built-in tuple comparisons up to six elements, and allows most keywords as argument labels without backticks.
Apple launched Swift as an open source project with the Swift.org site, which includes key parts like the compiler, standard library, LLDB debugger, core libraries, and package manager.
Now that the Swift Continuous Integration system is established and proven, we’d like to grant commit access on a more frequent basis to project contributors who have established a track record of good contributions.
Apple's Swift Team has released the benchmark suite as open source. It includes 75 benchmarks for key Swift tasks, libraries for common functions, a driver to run and show metrics, and a tool to compare versions.
Apple has rolled out continuous integration for the Swift project. Jenkins powers the system, which builds and tests on macOS, iOS simulator, and Ubuntu versions 14.04 and 15.10.
Apple saw a style gap between Cocoa interfaces and the Swift standard library. This gap made coding, debugging, and upkeep harder.
Swift 2.2 marks the first official release after Swift became open source. It stays mostly compatible with Swift 2.1 and focuses on core fixes, better diagnostics, and faster code without big language changes.