SwiftLee Weekly - Issue 337


This week's SwiftLee Weekly covers:

  • ContentBuilder in SwiftUI
  • Headless Xcode 27 MCP
  • iOS 26' DataDetector

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

​Swift Testing explained with code examples​

Are you yet using Swift Testing? Apple continued to improve the framework and I barely touch XCTest anymore. Here's an update on all the latest.
​avanderlee.com​

SPONSORED

​Fastlane alternative - Codemagic CLI tools​

Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning. View on GitHub.

CURATED FROM THE COMMUNITY

​iOS 26: DataDetector​

NSDataDetector, we've been friends in the past! It's so nice to see a modern replacement for this and Anton Gubarenkoshares all the details.
​antongubarenko.substack.com​

​Unit Testing Navigation Logic In Swiftui​

Unit testing navigation logic is always challenging, even more so in SwiftUI. Mohammad Azam explains how you can make use of a router to make navigation testable.
​azamsharp.com​

​Headless Xcode: From Prompt to Simulator with MCP​

Big news for iOS devs in one of the latest Xcode 27 beta releases. Artem Novichkov explains what headless Xcode MCP server access means for you when working with agents.
​artemnovichkov.com​

​Creating multi-step animations with PhaseAnimator in SwiftUI​

A simple SwiftUI animation might be doable, but what if you want a sequence of steps? This technique by Natalia Panferova works for that.
​nilcoalescing.com​

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

New in SwiftUI: ContentBuilder. Or well, it's actually not: it's just a typealias. But it's still a powerful change?! I know, this sounds confusing, but Fatbobman explains why there is a big reason to consider using it.
​fatbobman.com​

SWIFT EVOLUTION

An overview of last week's Swift Proposal state changes. Check them out when they're in review, as it's your opportunity to influence the direction of Swift's future.

WHAT I'M WORKING ON

Inviting the first beta users to RocketTrace

Last week, RocketTrace finally got approved. It turned out that my TestFlight build had a unique combination of entitlements that blocked it from going through. It uses an XPC-standalone companion app and other living-on-the-edge features to let you run Xcode Instruments directly on a physical device.

Getting unblocked on TestFlight also means I can finally onboard the first beta users. I’m doing this in waves, so I can pay full attention to any new users and fix issues along the way. Last week’s beta approval allowed me to invite several friends, who already provided great feedback.

Rolling out new apps is exciting, and you want to make sure they work ‘in the wild’ before rolling them out to your biggest audience. You might only get one chance to convince a user, so it better be good. Hence why I’m rolling it out in waves.

f you haven’t yet, make sure to sign up for the beta waitlist. And if you’re curious, here’s what recording in RocketTrace on a physical device looks like:

video preview​

UNTIL NEXT TIME

Know an iOS developer who’d enjoy SwiftLee Weekly?

If this week’s issue helped you, share it with one iOS developer who’d appreciate practical Swift techniques, agentic coding tips, and carefully selected community articles.

​Share on LinkedIn · Share on X/Twitter · Share on Bluesky​

Or copy your personal referral link:

​[RH_REFLINK GOES HERE]​

Rewards: 3 referrals unlock 50% off RocketSim Pro Yearly, 10 unlock Swift Concurrency Course access, and 30 unlock RocketSim Pro Lifetime.

​See your rewards and progress →​

Thank you so much for your support, and until next Tuesday,

Antoine

SwiftLee Weekly by Antoine van der Lee

Swift Evolution updates, 5 top community articles covering Swift development topics.

Read more from SwiftLee Weekly by Antoine van der Lee

This week's SwiftLee Weekly covers: iPhone Duo Group Lab Questions and Answers overview MCP for Static Analysis of SwiftUI code It's over! Or at least, part of your engineering career Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST How to reduce token usage in Claude Code, Codex, and Cursor Reviewing your AGENTS.md and Agent Skills: it's something I do regularly. This time, I found way more improvements than expected, and I'm sharing you the results and best practices.avanderlee.com...

This week's SwiftLee Weekly covers: The new JSON project format in Xcode 27.2 Adopting your app to iPhone Duo Running Cloud Agents with Xcode on Apple Silicon Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST iPhone Duo Simulator: Testing and optimizing your SwiftUI app A brand new device means a brand new Simulator. This time, it's not a simple iteration on the iPhone sim, but a truly new type of simulator that can fold! How it works and how you can use it to adapt your app is covered...

This week's SwiftLee Weekly covers: Xcode Instruments integrated into Xcode's Simulator A SwiftUI Agent Skill for iPhone Duo, SDK 27 APIs Videos, articles, and meetings for iPhone Duo support Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Agent Skill: Install and use with AI coding tools Xcode 27, iPhone Duo, Resizable iPhone apps, and many new SwiftUI APIs and deprecations. It's time for version 5.0 of my SwiftUI Agent Skill.avanderlee.com SPONSORED Fastlane alternative -...