Category
SwiftUI
Everything we’ve written under SwiftUI.
SwiftUI articles
- SwiftUIFeatured
Where Handoff Actually Arrives on iOS and macOS
Part 3 of our Apple Continuity series. On iOS, a scene-adopted app receives Handoff in scene(_:continue:) and never in the app delegate. The three app-delegate Handoff methods carry an availability upper bound of 26.0; the scene and AppKit equivalents carry none. With the fetch technique behind those figures, the three-callback set, and a snippet that proves which seam fires in your app.
Ben Van Aken10 min read - SwiftUI
Your First NSUserActivity: Handoff in Swift
Part 2 of our Apple Continuity series: the smallest Handoff that works end to end. Build the activity, declare NSUserActivityTypes in every receiving target, advertise and receive it in SwiftUI. The same Team ID plus a declared type is the entire gate.
Ben Van Aken8 min read - SwiftUIFeatured
Apple Continuity Is Three Different Contracts
Part 1 of our Apple Continuity series. Continuity is not one feature but a family with three postures: opt-in with an API, opt-out and already running with your data, and no API at all. Almost every mistake we found came from applying one posture's rule to another's feature.
Ben Van Aken8 min read - SwiftUIFeatured
On-Device Translation with Apple's Translation Framework (The Session You Can't Keep)
A TranslationSession is only valid inside the closure that hands it to you. That single constraint decides the batching, the caching and the shape of every object around it.
Ben Van Aken10 min read - SwiftUIFeatured
Tracking ScrollView Offsets in SwiftUI (Three Ways That Actually Work)
The PreferenceKey snippet everyone copy-pastes silently reports a frozen 0.0. The coordinate space isn't why. Here's the fix, plus scrollPosition(id:) and onScrollGeometryChange.
Ben Van Aken11 min read - SwiftUI
Building an In-App Feedback Loop for Your SwiftUI App
Feedback scattered across App Store reviews, email and TestFlight isn't a collection problem. It's a loop problem. Here's how to build the loop in SwiftUI.
Ben Van Aken7 min read - SwiftUI
SwiftUI vs UIKit: A 2026 Answer, Not a 2020 One
Six years on, this is not a choice between two frameworks. It is a ratio, and every app we ship has both in it. What SwiftUI still does badly, how to bridge in both directions, and how to pick per project.
Ben Van Aken12 min read - SwiftUI
The Swift Logger API, End to End
Unified logging is the best-documented Apple API that almost nobody uses properly. Subsystems, the privacy rules that redact your strings, signposts, pulling logs off a device, and why the server wants a different Logger entirely.
Ben Van Aken13 min read
No articles match your search
Try a different word, or clear the search.