SwiftLee Weekly - Issue 344


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.

UNTIL NEXT TIME

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.

Your personal referral link

​[RH_REFLINK GOES HERE]​

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

Rewards:

  • 3 referrals unlock 50% off RocketSim Pro Yearly
  • 10 unlock Swift Concurrency Course access
  • 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: Xcode Instruments: Profile, Fix, and Verify Performance The future of app development Picking between Cursor, Claude Code, and Codex Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Xcode Instruments: Profile, Fix, and Verify Performance Xcode Instruments is one of those tools many of us rarely open, even though it's the fastest way to find out why your app feels slow. I updated my guide for Xcode 27, including Run Comparisons to verify that your...

This week's SwiftLee Weekly covers: Now available: AI Fundamentals Course The problem that stops your app from ranking SwiftUI vs. UIKit animations Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Agentic engineering: why I built the AI Fundamentals course My AI Fundamentals course is live! I waited months to launch it, because I wanted to be sure my workflows hold up in daily use. In this week's article, I explain why I built the course and what you'll learn inside.avanderlee.com...

This week's SwiftLee Weekly covers: Agent hooks in Claude Code, Cursor, and Codex explained AGENTS . md files with personal rules, while working in teams Close-sourcing open-source projects Next week, I'll be releasing the first 3 modules of my new AI Fundamentals course. Make sure to join the waitlist while you can by clicking here. Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Agent hooks in Claude Code, Cursor, and Codex explained Your agent forgets a rule in AGENTS.md every now...