Home

151
Just a Few Keystrokes
Aug 31, 2026 Issue #151

Just a Few Keystrokes

Last weekend, I attended an App Accelerator event hosted by Apple in Beijing. The event focused primarily on app develop...
Explore Full Issue

Recent Weekly Issues

by Fatbobman

SwiftData: Optimization Starts with Modeling

Once a dataset grows large, SwiftData lists start to stutter. This has been the performance complaint I've heard most often these past few years. Once you actually spend time on it, you find that the slowness isn't only the long initial load — the enormous memory footprint drags performance down just as much. This article looks at why these problems show up in SwiftData, and where to start fixing them.

by Fatbobman

ContentBuilder Explained: The Secret Behind SwiftUI's Type-Checking Speedup

In WWDC 2026, Apple engineers introduced a new SwiftUI feature — ContentBuilder. From the usage perspective, it seems to be nothing more than a ViewBuilder with a wider scope. Apple also claims this adjustment can significantly improve type-checking performance. This article will dissect the essence of ContentBuilder and explore the secrets behind the performance boost.

by Fatbobman

Controlling Orphans in SwiftUI Text: Uncovering the Undocumented avoidsOrphans

SwiftUI's Text has a default behavior: when the final line of a paragraph is left holding a single stranded word or character, it proactively pushes the complete word group from the preceding line down to join it, so that nothing is left standing alone. This bit of thoughtfulness is right most of the time, but it comes at a cost — the preceding line may be left with a wide gap. In narrow containers, or in mixed Chinese-English typesetting, that can end up disrupting the balance of the paragraph rather than preserving it.

Guest Post by Megabits

Liquid Glass: A Field Guide to UIKit Compatibility Pitfalls

Although Liquid Glass has been around for two years, the compatibility issues it introduced haven’t completely disappeared. Drawing on a real-world project, SLIT_STUDIO developer Megabits summarizes several common UIKit adaptation pitfalls and the solutions he used to address them.

by Fatbobman

Debugging Notes on Two SwiftUI Animation Bugs

Easy-to-use animation has always been one of SwiftUI's defining features. But the nature of a declarative framework is a double-edged sword: once an animation misbehaves, tracking down the cause is often trickier than in an imperative framework. This post records two SwiftUI animation bugs I ran into over the past two weeks, along with how I tracked each of them down.

by Fatbobman

From Size Class to Available Space: Is horizontalSizeClass Still Reliable?

Starting with WWDC 26, when an iPhone app is mirrored to a Mac through iPhone Mirroring, its window can be freely resized. At the same time, iPhone-only apps running on iPad will also enter a resizable environment. Even without updating a physical device to a beta system, developers can already experience this change through Xcode 27 previews or the iOS 27 simulation environment in Device Hub.