
Testing on-device Foundation Models features with Swift Testing when the output is non-deterministic by design.
Here’s the reframe that unlocks all of this: a language model is not a function in the mathematical sense. The same input does not map to the same output. The moment you accept that, you stop asking “what string will it return” and start asking “what must be true about whatever it returns.”
The model can reach into your app. Mid-generation. It can call a function you wrote, get a result, and fold that result into its answer — all in a single respond call. That's the Tool protocol - on-device tool calling - and it's the difference between an AI feature that talks about your data and one that talks to it.
I handed Xcode a task three months ago and walked to the kitchen for coffee. When I came back, the build was green, two files I hadn’t named were edited, and a test I’d forgotten existed was passing again. I sat down, read the diff, and reverted half of it.
That’s the honest shape of the last three months. The agent built into Xcode 26.3 is genuinely good at a specific kind of work, genuinely bad at another, and the gap between those two is exactly where you earn your keep now. This is a field report, not a launch-day hot take — three months of real work on VinylCrate, the wins and the reverts both.
I thought App Intents was going to be a Siri feature, but It turned into an architecture audit.The weirdest part wasn’t writing the intents. It was debugging failures with almost zero visibility.Six shortcuts defined. Two appeared. No logs. No errors. Just missing tiles in Shortcuts.app.
Shortcuts launches your app headlessly. App.init never runs. If your entity queries depend on app-registered services or SwiftData setup, the system can silently drop the shortcut entirely.
I built a sample app for this post called Tour Merch. It’s an App Clip plus a parent app, both written in Swift 6 with strict concurrency on. The clip lets you buy a shirt at a Metallica show with Apple Pay; the parent app lets you see every shirt you’ve bought across the tour. The whole companion repo is at the end of this post if you want to clone and poke.
What I want to walk through is the stuff that matters once you sit down to build one of these: what App Clips are actually for, how invocation works, how the project is wired, where Apple Pay forces your hand under Swift 6, and how the clip hands off to the parent app without losing the receipt.
Wesley Matlock is a senior iOS engineering leader with a career long focus on building high quality systems across the Apple ecosystem, from launching early mobile apps at Overstock to architecting modern SwiftUI platforms and exploring spatial computing on visionOS. Currently at Frontier Airlines, he leads development of a greenfield SwiftUI application using The Composable Architecture (TCA). Alongside core product work, he has been increasingly focused on designing agentic AI systems and automation, where AI handles bounded tasks while developers retain intent and oversight.
His work emphasizes building testable, modular systems that scale safely in production, whether that is application architecture or AI augmented developer tooling. By modernizing CI/CD pipelines, workflows, and UX, he reduced deployment times by 70 percent and increased mobile bookings by 10 to 15 percent.
Throughout his career at companies like Nike, MLB, and Pluto TV, Wesley has specialized in architecture including scaling apps to millions of users using TCA, Redux and ReSwift, SwiftData, and modern concurrency. He focuses on performance by leveraging Instruments and MetricKit to maintain 99.9 percent crash free sessions. He works on agentic systems and automation by applying AI assisted and agent like workflows to developer tooling, CI/CD, and internal systems with human in the loop validation. He drives innovation by integrating HealthKit for biometric tracking and RealityKit for visionOS. He champions inclusion by increasing accessibility coverage from 40 percent to 85 percent at Pluto TV.
Join the Mobile Signal Talent Directory and make your profile visible to hiring teams searching for iOS talent.