Blog

Development

On-Crash Backtraces in Swift

Swift 5.9 enhances debugging with an out-of-process crash handler that provides detailed backtraces, interactive inspection, and just-in-time debugging, improving on the limited crash messages of prior versions.

Monthly Updates

Monthly update #0402 • October 2023

Monthly update 402 • October 2023 • 2023-10-01 - 2023-10-31

    Development

    Introducing Packages on Swift.org

    Swift.org now has a new top-level Packages page. This page helps users explore the Swift package ecosystem. It lists common categories such as server, networking, testing, and logging.

    Development

    Swift Everywhere: Using Interoperability to Build on Windows

    Swift’s design emphasises seamless interoperability with other languages, particularly C and C++, by embedding clang to avoid the performance and boilerplate costs of traditional C-based Foreign Function Interfaces (FFI) like libffi.

    Development

    Vapor HTTP Error Handling Security Vulnerability

    We've just released Vapor 4.84.2 which contains a fix for a security vulnerability in Vapor's error handling.

    Monthly Updates

    Monthly update #0401 • September 2023

    Monthly update 401 • September 2023 • 2023-09-01 - 2023-09-30

      Development

      Debugging Improvements in Swift 5.9

      Swift 5.9 enhances debugging with three key improvements to the compiler and LLDB. The p and po commands now use the faster dwim-print command, avoiding persistent result variables and enabling po to print Swift objects from raw addresses.

      Development

      Swift 5.9 Released

      Swift 5.9 introduces a powerful macro system for expressive libraries, parameter packs for flexible generic APIs, and ownership features like consume and noncopyable types to optimize low-level code performance.

      Monthly Updates

      Monthly update #0400 • August 2023

      Monthly update 400 • August 2023 • 2023-08-01 - 2023-08-31

        Development

        SSWG 2023 Annual Update

        The Swift Server Workgroup (SSWG) has released its 2023 annual update, reflecting on community progress and outlining priorities for the year.

        Monthly Updates

        Monthly update #0399 • July 2023

        Monthly update 399 • July 2023 • 2023-07-01 - 2023-07-31

          Essays

          Why Decentralised Social Media Is the Future

          Social media shapes how we connect, share ideas, and learn from each other. Yet, too often, these platforms feel like walled gardens, controlled by companies that put profit before people. I believe decentralised services, like email or websites, are the answer.

            Development

            Introducing Swift HTTP Types

            Apple announced Swift HTTP Types, a new open-source package providing shared, Swift-first currency types for HTTP operations, enhancing code sharing between clients and servers.

            Monthly Updates

            Monthly update #0398 • June 2023

            Monthly update 398 • June 2023 • 2023-06-01 - 2023-06-30

              Development

              My App Store Screenshots Flow

              Creating 975 screenshots for the App Store is a daunting task if done manually. For my app, Quiet, I need screenshots for multiple devices and languages, and framing them nicely with labels adds even more work.

              Development

              Introducing Swift OpenAPI Generator

              Apple released Swift OpenAPI Generator, a set of open-source libraries that automate HTTP communication for clients and servers using the OpenAPI specification.

              Development

              Update on privacy in Apple's ecosystem 2023

              This year, I watched four sessions totalling 1 hour and 15 minutes, and I’m excited to share a summary to save you the time. Here’s what’s new in Apple’s privacy landscape for 2023, built around their four core privacy pillars.

              Development

              I am happy with TipKit

              Over the years I became more convinced that onboarding flows were users are educated are not working. It is much better to educate people in context and when needed.

              Development

              On Device Machine Learning

              I loved how during the WWDC Keynote and The State of Union not once the term AI was used. AI is an hype word and could mean a lot of things. Love how Apple keeps saying “On Device Machine Learning”.

              Monthly Updates

              Monthly update #0397 • May 2023

              Monthly update 397 • May 2023 • 2023-05-01 - 2023-05-31

                Development

                Using Upcoming Feature Flags

                Swift 5.8 introduces a flexible mechanism to adopt upcoming features via the -enable-upcoming-feature compiler flag and the hasFeature() condition, allowing developers to incrementally prepare for Swift 6 while maintaining source compatibility.

                Development

                Upcoming changes to Vapor with Sendable

                The Vapor team is implementing Sendable annotations across its repositories, starting with a significant pull request, to enhance safety in Swift Concurrency, following a challenging but unsuccessful attempt to use actors for some internals.

                Development

                Why not Flutter?

                Flutter, Google’s cross-platform framework, promises fast development for Android and iOS apps, but it comes with notable limitations.

                Development

                Penny Update

                The Vapor team announced a new update for Penny, their Discord bot, enhancing it to post Swift Evolution proposal updates in the #swift-evolution channel, with an option for users to follow these updates on their own servers.

                Gems

                Personal Voice

                Users can create a Personal Voice by reading along with a randomized set of text prompts to record 15 minutes of audio on iPhone or iPad.