Snapp Technology

Snapp iOS Weekly Issue 121 December 4, 2026

Hi folks,

A screenshot app has no business waking up your Mac while it waits for a shortcut. And a scroll indicator shouldn’t move just because the rows need more breathing room. I like how concrete this week’s reads get about what should change and what should stay put, right down to the shared test state the folks at Depop uncovered when they ran their suites in parallel. Also: Apple’s Food Truck sample runs in a browser now, which wasn’t on my list of things to try with Swift this weekend. It is now.

Have fun!

Subscribe

Articles

Swift

Swift for Wasm November 2026 Updates

Max Desiatov

Apple’s Food Truck sample running in a browser is the bit that made me stop scrolling. SwiftUIWeb gets it there with Embedded Swift and WebAssembly, building from the same sources as the iPhone and iPad versions. There’s solid work under the demo, too: JavaScriptKit 0.64.0 reports 30–50% faster JSObject handling (at the cost of Hashable conformance), WasmKit adds wasm2wat, and ElementaryUI gets keyed ForEach and basic server-side rendering. If you’ve been waiting for a reason to try Swift in the browser, start with the demo.

AI/ML

Building a zero-wakeup macOS capture app and cutting Core ML OCR memory by 4×

Morax Cheng

A screenshot tool spends most of its life waiting for us to press a shortcut, so zero measured idle wakeups is a number I actually care about. OhMyShot gets there by deferring AVFoundation permission checks until needed and letting macOS schedule update checks. The Core ML surprise is even better: moving the PP-OCRv6 recognizer’s final layer to the CPU with Accelerate cut peak memory by about 4× on the test pages. The write-up leaves the missed performance targets in the table, which makes the wins easier to trust.

Reading Three AI Agents’ Usage Limits From Their Own Sign-Ins, Without Ever Writing Them

Gilad Or

Finding out you’ve hit a usage cap halfway through a task is a lousy way to learn when it resets. gas puts Claude Code, Codex, and Grok CLI usage in one macOS menu bar app. I’d read it for what broke after shipping: a reconnect that didn’t trigger a refresh, a missing usage value that actually meant zero, and a floating panel that barely let you drag it. That last one is a good reason to try dragging your panel while another app has focus.

UI/UX

Transactions in SwiftUI

Wesley de Groot

The sidebar should slide in; the unread count should just change. If both are animating, check which SwiftUI transaction the counter is inheriting before moving more state around. withAnimation is still where I’d start, but withTransaction lets us tune a particular update, and .transaction lets one view opt out. The Reduce Motion example is a good reminder that the same state change doesn’t have to move the same way for everyone.

Creating gradient on polylines in SwiftUI MapKit

Matthaus Woolard

Xcode will happily suggest linearGradient for a SwiftUI MapPolyline. That sends us looking for screen-space start and end points when all we wanted was color that follows the route. Pass a Gradient straight to .stroke and MapKit handles the rest.

Safe area and content margins in SwiftUI

Natalia Panferova

Two ScrollViews can put every row in the same place and still disagree about where the background ends and the scroll indicator goes. That’s the side-by-side comparison that makes safeAreaPadding and contentMargins click for me. If the rows need breathing room but the indicator should stay at the edge, reach for contentMargins with .scrollContent. The diagrams also make it easier to follow what happens to the safe area further down our view hierarchy.

Testing

From XCTest to Swift Testing: migrating 10,000 unit tests at Depop

Anastasia Petrova

Depop moved roughly 10,000 unit tests from XCTest to Swift Testing, and the interesting part is what the converter couldn’t do. A SwiftSyntax-based tool handled the mechanical edits; AI helped with the second pass. Parallel runs exposed tests that quietly depended on shared state or happened to land on the main actor locally. If we’re planning a migration of our own, I’d borrow the CI checks before borrowing any of the automation.

Utils

VersionedModels

Kyle Hughes

Remember the innocent little Codable struct that became a file format the moment we shipped it? With VersionedModels, each new type has an init(migratingFrom:) for its predecessor, and VersionedEnvelope decodes the saved version and walks it forward. We still write the migration logic, but we don’t have to hand-roll the version switch, and future versions are rejected before the payload is decoded. There’s even a chain validator for tests, where I’d much rather find a missing migration.