Use Swift with Temporal
Blog post from Temporal
The announcement of the Temporal Swift SDK at the ServerSide.swift conference introduces a significant advancement for Swift developers aiming to build durable and resilient distributed systems. This SDK leverages Swift's native async/await and structured concurrency features, allowing developers to write reliable, long-running workflows that can automatically handle crashes, failures, retries, and persistence. The SDK wraps the Temporal Core SDK using Swift's C interop and employs gRPC-swift for communication, featuring components such as @Workflow and @ActivityContainer macros, TemporalWorker, and TemporalClient for managing and executing workflows. It supports advanced patterns like child workflows and local activities while offering extensive interaction capabilities through signals, queries, and updates. The SDK, which includes examples and comprehensive support for Temporal's features, is designed for seamless integration into Swift applications and is under active development, with the community encouraged to contribute feedback and share their experiences.