Win a ticket for Do iOS Conference, enter in 10 seconds. Go to the giveaway →
Giveaway: Free Do iOS ticket giveaway.
Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 344
Oct 06, 2026

This week's SwiftLee Weekly covers:

  • Xcode Instruments with AI Agents
  • System One models in Swift
  • Xcode Preview MCP

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

​Introducing RocketTrace: Using Xcode Instruments with AI Agents​

After months of building and beta testing, I'm happy to finally release RocketTrace to you all. Xcode Instruments simplified, an agentic way to optimize your app's performance efficiently with much lower token costs.
​avanderlee.com​

SPONSORED

​Run cloud agents with Xcode on real Apple Silicon​

Xcloud gives your cloud agents their own macOS environment, complete with your Xcode version, SDKs, and dependencies. They can edit, build, and test iOS or macOS apps while Xcloud handles the infrastructure. Learn more.

MONTHLY GIVEAWAY

Win a ticket for Do iOS Conference in Amsterdam

This November, Do iOS Conference will take place in Amsterdam from November 10th to 12th. I'll be giving a talk myself among speakers like Peter Friese and Tibor Bödecs who I also often curated in this newsletter.

​Join the giveaway for free or get a ticket and see you there?

CURATED FROM THE COMMUNITY

​Presenting SwiftUI sheets on iPhone Duo​

Sheets on iPhone Duo are more flexible than you're used to on other devices and Natalia Panferova tells you all about it.
​nilcoalescing.com​

​10k MRR in the Most Boring Way Possible​

10K Monthly Recurring Revenue: It's a dream many app developers have, and only some will reach. What would future Jordan Morgan tell himself 3 years ago on how this journey went?
​swiftjectivec.com​

​Getting started with System One models in Swift​

You might have heard about TypeSafe's Jev, but did you know it's called a System one model? Peter Friese explains this concept and how you can use this in your apps using Swift and Apple's Foundation Models.
​peterfriese.dev​

​Optimizing Claude Code's Xcode build token usage​

Using Claude Code to build your apps using Xcode? Daniel Saidi continued my article's explorations and shares how it helped him optimize his setup to reduce tokens spent.
​danielsaidi.com​

​Letting AI See SwiftUI - Xcode Preview MCP in Practice — Pitfalls and Hopes​

What if you could connect SwiftUI Previews to your agents using Xcode Preview MCP? Fatbobman worked it out.
​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

Adding iPhone Duo support to my Video Compression App

After releasing my Video Compression iOS app last week, I started working on support for iPhone Duo. Just like I can use RocketSim and RocketTrace for my own app now, I’m also able to tune and optimize my SwiftUI Agent Skill.

But I wondered: adding iPhone Duo ánd iPad support, where should I start? Would it be better to make my iPhone resizable first? Or should I add iPad support first, then fine-tune for resizability and iPhone Duo?

I decided to start with iPad support. I used a cheap agent model (Composer 2.5 in Cursor) to walk through all iPad screens using RocketSim’s CLI, and asked it to create a web page with screenshots for each page in dark & light mode, at different text sizes. Each screenshot comes with a text field for feedback and a “copy prompt” to return everything at once to the agent.

Am I going extreme? I don’t know. I do know this has been a quick way for me to get an overview of all the pages in my app while I work on something else in the meantime. Token-wise, it’s also doable, as RocketSim’s CLI is quite efficient. I believe it took about 1.8 million tokens for the complete first setup. After adding iPad support, I’ve also been able to add Duo support more easily.

What’s great about this all is that I can ask the agent for feedback on my SwiftUI Agent Skill. That resulted in several updates over the past weeks, so make sure to run npx skills add https://github.com/avdlee/swiftui-agent-skill --skill swiftui-expert-skill in your terminal, and upgrade your agent’s SwiftUI knowledge to support iPhone Duo.

{% assign referral_count = subscriber.rh_totref | default: 0 | plus: 0 %}{% if subscriber.rh_reflink != blank %}UNTIL NEXT TIME

{% if referral_count >= 30 %}You’re one of SwiftLee Weekly’s top advocates

You’ve referred {{ referral_count }} developers and reached every current reward. Thank you for helping SwiftLee Weekly grow.

{% elsif referral_count >= 10 %}You’ve unlocked Swift Concurrency Course access

You’ve unlocked Swift Concurrency Course access as you’ve referred {{ referral_count }} developers.

{% assign referrals_needed = 30 | minus: referral_count %}Refer {{ referrals_needed }} more to unlock RocketSim Pro Lifetime.

{% elsif referral_count >= 3 %}You’ve reached your first referral reward

You’ve referred {{ referral_count }} developers. {% assign referrals_needed = 10 | minus: referral_count %}Refer {{ referrals_needed }} more to unlock Swift Concurrency Course access.

{% elsif referral_count == 2 %}One more referral unlocks your first reward

You’ve referred two developers. One more unlocks 50% off RocketSim Pro Yearly.

{% elsif referral_count == 1 %}You unlocked my 5 agent workflows

I’ve sent the reward to your inbox. You’re now two referrals away from 50% off RocketSim Pro Yearly.

{% else %}Refer one developer. Get my 5 agent workflows

Know a Swift or iOS developer who would enjoy SwiftLee Weekly? Refer one confirmed subscriber, and I’ll send you the five agent-powered workflows I use for marketing, App Store metadata, support, performance, and Xcode disk cleanup.

Your rewards continue from there: reach three referrals to unlock 50% off RocketSim Pro Yearly.{% endif %}

Your personal referral link

​{{subscriber.rh_reflink}}​

Share by email · WhatsApp · LinkedIn · X/Twitter · Bluesky​

{% if referral_count < 30 %}Rewards:

  • 3 referrals unlock 50% off RocketSim Pro Yearly
  • 10 unlock Swift Concurrency Course access
  • 30 unlock RocketSim Pro Lifetime.{% endif %}

​See your rewards and progress →​

{% endif %}Thank you so much for your support, and until next Tuesday,

Antoine