Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 348
Nov 03, 2026

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 and then, at least, that's my experience. A hook never does and it really impacted my way of working. In this week's article, I'm explaining how hooks work in Claude Code, Cursor, and Codex, and show one that filters noisy Xcode build output.
​avanderlee.com​

SPONSORED

​From 25-minute to 8-minute iOS builds​

A sample iOS build drops from 25 minutes on GitHub-hosted runners to 8 minutes on WarpBuild. You get M5 Pro Macs, unlimited macOS concurrency and per-minute pricing from $0.08. Keep your workflows and change one runs-on line. Use code START50 for $50 in free credits. Learn more.

CURATED FROM THE COMMUNITY

​Guidelines and Guardrails Belong in Git​

How do you deal with personal AGENTS . md rules while working in a team? Allen Pike shines a light on this matter.
​allenpike.com​

​SwiftData rollback after a failed save​

Storing data failed, but what do you do at that point? What if a SwiftData save fails? Roland Leth shares his experience of unexpected behavior.
​roland.leth.ro​

​Bring Receipts​

I used to rely on automated PR reviews, but I'm more and more relying on local reviews that happened either way. Agentic development is changing how we used to work, and this article by Alex Grebenyuk discusses one of those cases.
​kean.blog​

​Closing Up: Why I’m making some of my projects closed-source​

What I experience with my article, Daniel Saidi experiences with open-source projects. People care less, copying seems more normal than ever. I've seen my open-source projects being copied too. It's sad, but the new reality.
​danielsaidi.com​

​Interesting ways of using Swift optionals​

John Sundell makes you think different about optionals in Swift. An unexpected learning journey for something that feels so fundamental!
​swiftbysundell.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

Hello, Metal

The iPhone Duo is here for a while, so is the Simulator inside Device Hub. Screenshots aren't required for submission, but soon will. There's a big difference with the Duo Simulator compared to others: it allows you to adjust the fold.

RocketSim supports recordings and screenshots, so I had to add support for capturing that folding state. What started as "Let's use Xcode Instruments to optimize SwiftUI", ended in "Let's rewrite to RealityKit" and followed by "Let's use Metal and move to the GPU".

The thought I had?

"Why not, the agent can do it either way!"

Which is still a very weird thought. I would've never picked Metal a year ago, as I have no experience in it at all. It would not be optimal, it would take me weeks to learn that new technology and I would not even know if it would work well.

Now, one week later, it works super well. Performance is unlike anything I had before. It took me a lot of instrument traces, but I simply couldn't accept a lower quality barier as agents give no excuses. Yet, it's a blessing and a curse: you'll have to watch your deadlines and prevent yourself from endlessly optimizing. I guess the freedom as an indie developer doesn't help here, ha!

{% 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


Thanks for being a SwiftLee subscriber!
​
All my content is available to you for free. Like what I do and want to support me?
​Buy me a coffee or try RocketSim, an Essential Developer Tool as recommended by Apple.

This newsletter is built with Kit.
Need my experience? Book a 1:1 with me.

​

You're receiving this because you signed up for SwiftLee Weekly. If you'd prefer not to hear from me, you can manage your preferences here.