InfoQ Homepage Swift Content on InfoQ
-
SwiftData Enhances Queries, Adds Support for External Types and Data Store Observation
The 2027 release of SwiftData introduces support for persisting custom and third-party types via Codable, along with the ability to organize data into SwiftUI list sections. It also adds new capabilities for observing data store changes through ResultsObserver and HistoryObserver.
-
SwiftUI Adds New Document Protocol, Improves Performance, and More
Announced at WWDC 2026, the latest SwiftUI release brings a new Document protocol for efficient disk access and snapshot-based updates, along with improved APIs for reordering items in lists, grids, and sections. In addition, it expands presentation features, such as swipe actions on any view, better AsyncImage caching, and lazy state initialization for Observable types to boost performance.
-
Swift 6.4 Brings New Language Features and Swift Testing/XCTest Interop
Currently available as a beta in Xcode 27, Swift 6.4 introduces a range of enhancements: better C interoperability, simplified OS availability check, fine-grained warning control, async support in defer, efficient iteration for non-noncopyable types, up to 4x faster URL parsing, and improved interoperability between Swift Testing and XCTest.
-
Swift 6.3 Stabilizes Android SDK, Extends C Interop, and More
Swift 6.3 advances Swift cross-platform story with official Android support, improves significantly C interoperability through the new @c attribute, and continues extending embedded programming support. It also strengthens the ecosystem with a unified build system direction and gives developers more low-level performance control.
-
Apple Improves Context Window Management for its Foundation Models
iOS 26.4, now in Release Candidate, introduces improved context window management for Apple's Foundation Models, helping developers work with the 4096-token context window limit. This encourages treating the context window as a constrained resource, which requires actively managing it like memory in a low-resource system to optimize its usage.
-
Swift Cross-Platform Framework Skip Now Fully Open Source
After three years of development, the team behind Skip, a solution designed to create iOS and Android apps from a single Swift/SwiftUI codebase, has announced their decision to make the product completely and open source, in order to foster adoption and community contribution.
-
Rust Contributor Explores AI-Assisted Compiler Development with New Rue Language
Innovative programmer Steve Klabnik, known for his contributions to Rust, unveils Rue, a new systems programming language that enhances memory safety without garbage collection. Designed with developer ergonomics in mind, Rue leverages "inout" parameters to simplify ownership management while collaborating with Anthropic's Claude AI to expedite development. Explore Rue at rue-lang.dev.
-
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.