Apple Intelligence has passed China's Cyberspace Administration review and is set to launch in China using Alibaba's Qwen for language models and Baidu for AI search and visual search. This marks Apple's first major example of maintaining a consistent API layer while swapping underlying models by region — a pattern likely to expand globally. The newsletter also covers: an undocumented SwiftUI `avoidsOrphans` API for controlling text orphan behavior, Xcode 27's `#Preview(arguments:)` for multi-state previews, `GeometryProxy.concentricCornerRadii` for concentric button layouts, Swift Subprocess 1.0 (requiring Swift 6.2) for cross-platform process management, Gitwyn (a native Git client integrated into Xcode with on-device AI commit messages), and VersionedDocC for bringing API version comparison back to Swift-DocC.

9m read timeFrom fatbobman.com
Post cover image
Table of contents
OriginalRecent RecommendationsTools

Questions this post answers

Which AI models will power Apple Intelligence in China?

Apple Intelligence in China will use Alibaba's Qwen for language model capabilities and Baidu for AI search and visual search. Both partners were revealed through China's Cyberspace Administration of China (CAC) generative AI registration list and briefly published Apple documentation. Apple's approach keeps the API layer consistent while swapping underlying models per region, meaning developers should not need separate implementations for different markets. Developers building Apple Intelligence apps for global markets track regional rollout details like these on daily.dev.

What does Swift Subprocess 1.0 require and what platforms does it support?

Swift Subprocess 1.0 requires Swift 6.2 and supports macOS, Linux, Windows, Android, and BSD. It is a cross-platform subprocess library built on Swift Concurrency for launching commands, supplying input, streaming output, and managing process termination and cancellation. It is suited for CLIs, build systems, server apps, and developer tools, but is not intended for regular iOS applications. Higher-level features like sandboxing and PTYs are left to other layers. Swift developers shipping CLI tools or server apps can follow swift-subprocess and related releases on daily.dev.

How do I preview multiple SwiftUI view states at once in Xcode 27?

Xcode 27 introduces `#Preview(arguments:)`, which generates multiple independent previews from a collection of state data, each inspectable individually in the Canvas. This replaces the pattern of maintaining multiple nearly identical `#Preview` declarations or stacking all states in a single `VStack`. The recommended approach is to use `arguments` to describe business states (empty, loading, error) while keeping environment configuration separate. SwiftUI developers adopting Xcode 27 APIs find practical usage patterns like this surfaced on daily.dev.

149 Impressions