InfoQ Homepage Swift Content on InfoQ
-
AnyLanguageModel: Unified API for Local and Cloud LLMs on Apple Platforms
Developers on Apple platforms often face a fragmented ecosystem when using language models. Local models via Core ML or MLX offer privacy and offline capabilities, while cloud services like OpenAI, Anthropic, or Google Gemini provide advanced features. AnyLanguageModel, a new Swift package, simplifies integration by offering a unified API for both local and remote models.
-
Apple Previews SDK for Building Android Apps with Swift
The Swift SDK for Android, recently released as a nightly build, is designed to help developers to port their Swift packages to Android, making it easier to share code across platforms. While the SDK is still in preview, over 25% of packages in the Swift Package Index can already be compiled for Android.
-
Swift 6.2 Introduces Approachable Concurrency to Simplify Concurrent Programming
Announced at its latest developer conference, WWDC25, Swift Approachable Concurrency is a new feature in Swift 6.2 designed to simplify concurrent programming for the most common use cases in mobile apps.
-
SwiftUI for iOS 26 Embraces Liquid Glass, Introduces WebView and Rich Text Editing
At WWDC 2025, Apple unveiled the latest iteration of its declarative UI framework, SwiftUI, featuring two major additions: a new SwiftUI-native WebView type and support for rich-text editing within TextView controls. The update also brings a plethora of additional improvements and new performance tools.
-
Java News Roundup: MicroProfile, Open Liberty, TomEE, JobRunr, LangChain4j, Apple SwiftJava
This week's Java roundup for June 16th, 2025, features news highlighting: point releases of MicroProfile 7.1, Apache TomEE 10.1 and LangChain4j 1.1; the June edition of Open Liberty; the second beta release of JobRunr 8.0; and Apple’s new SwiftJava utility.
-
Apple Completes Migration of Key Ecosystem Service to Swift, Gains 40% Performance Uplift
Apple has migrated its global Password Monitoring service from Java to Swift, achieving a 40% increase in throughput and significantly reducing memory usage—freeing up nearly 50% of previously allocated Kubernetes capacity.
-
Swift 6.1 Enhances Concurrency, Introduces Package Traits, and More
Swift 6.1, included in Xcode 16.3, introduces several improvements to the language and the Swift Package Manager, including type-wide global actor inference control, support for trailing comma in lists, package traits for conditionally exposing features based on the platform, and enhancements to Swift Testing.
-
Improving Threads' iOS Performance at Meta
An app's performance is key to make users want to use it, say Meta engineers Dave LaMacchia and Jason Patterson. This includes making it lightning-fast, battery-efficient, and reliable across a range of devices and connectivity conditions. In a recent article, they recounted their experience with the Threads app.
-
Vertex AI in Firebase Aims to Simplify the Creation of Gemini-powered Mobile Apps
Currently available in beta, the Vertex AI SDK for Firebase enables the creation of apps that go beyond the simple chat model and text prompting. Google has just made available a colab to help developers through the steps required to integrate it into their apps.
-
Swift 6 Officially Available
The Swift team has officially announced the availability of Swift 6, a new major version of Apple open-source language with focus on low-level and embedded programming, concurrent code safety, new cross-platforms APIs, and extended Linux and Windows support.
-
Swift Testing is a New Framework from Apple to Modernize Testing for Swift across Platforms
While XCTest remains the preferred way to create tests in Xcode, the new Swift Testing framework attempts to introduce an expressive and intuitive API for the definition of tests that applies to all platforms where Swift is supported. The framework also enables parallelizing, categorizing and associating tests with bugs.
-
Lyft Promotes Best Practices for Collaborative Protocol Buffers Design
Lyft shared its experiences using Protocol Buffers for inter-system integration, primarily focusing on collaborative protocol design for definitions shared between teams and systems. The company promotes approaches that improve knowledge sharing, consistency, and development process quality over raw efficiency optimizations.
-
Vapor 5 Materializes the Future of Server-Side Development in Swift
Over four years since the launch of its current version, the team behind Swift server-side development framework Vapor is making room for Vapor 5, which aims at leveraging Swift 6 concurrency capabilities and laying the foundations for the framework's future evolution. An initial alpha release is planned to be ready when Swift 6 is officially released.
-
The Swift Composable Architecture Brings the Redux Model to iOS App Development
The Composable Architecture (TCA), which recently reached version 1.13, is an "ergonomic" Swift library that provides a general framework to address commonplace problems when you build an app, including state management, feature composition, side effect management, and testing.
-
Swift 6 Introduces Embedded Swift for Low-level Programming
Swift 6 brings a new compilation mode aiming to address the specific constraints of embedded devices as well as kernel- and other low-level code. Embedded Swift is a full-featured subset of Swift covering most of the language, including value and reference types, closures, optionals, error handling, generics and more.