Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 320
Apr 21, 2026

This week's SwiftLee Weekly covers:

  • Apple Developer meetup during WWDC
  • Draggable bottom sheet in SwiftUI
  • Xcode Instruments x AI Agents

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Xcode Instruments Time Profiler: Improve performance with AI

I'm a big fan of Xcode Instruments, but lately even more now that I found a good way to work with it using AI agents. In this week's article, I'll share you how I used it this week to gain 25x better performance for RocketSim's CLI.

SPONSORED

Lessons Learned from Security Incidents in Mobile Apps

Join Security Researcher and Pentester, Jan Seredynski, on May 12 as he dissects real-world security incidents in banking, food delivery, and e-commerce. From face verification bypass to location spoofing, he'll break down the anatomy of a breach and what teams can do differently to address them. Learn more

CURATED FROM THE COMMUNITY

Apple Developer Community Meetup during WWDC

An official Apple Developer Community Meetup during WWDC, but no WWDC ticket required (!!). If you’re around, make sure to sign up by May 30 12:00 a.m. (PDT) to learn directly from community leaders and stick around for the mixer.
developer.apple.com

Building a draggable bottom sheet in SwiftUI

Ever wondered how apps like Apple Maps or Google Maps use a draggable bottom sheet? Natascha Fadeeva explains how you can replicate it in SwiftUI.
tanaschita.com

A Reusable Spotlight Onboarding Component in SwiftUI

Highlight parts of your app during onboarding by using a dimmed background. Artem Mirzabekian explains how you can use this effective technique in your SwiftUI onboarding.
livsycode.com

FormatStyle Guide

Do you know all the Swift Foundation’s FormatStyle APIs? If not, you’ll enjoy this new project by Chris Eidhof.
chris.eidhof.nl

A Small SwiftUI Warning and a Long Journey to Understand It

Classic Developer Journey: A small warning turning into something big. Like Alejandro M. P.’s concurrency journey related to SE-418.
alejandromp.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

CLI to control Xcode's Simulator

Controlling the Simulator using a CLI or via agents is not new. However, the solutions out there are not as optimized as I wish. I truly believe in an optimized workflow where less tokens are spent, and navigation performs faster.

RocketSim's CLI is already live, but it's very much a first version. This week I'm working together with several teams that use RocketSim to optimize it to their needs. The elements and interact commands will be optimized for failure prevention. That means some CLI outputs might be a little more detailed, but they'll prevent agents from guessing or making mistakes. The outcome will be faster iterations and fewer tokens used.

Another benefit I truly believe in: RocketSim runs as a Mac app, allowing for caching and stateful responses. You'll be able to store pre-defined flows for your app or combine manual interaction with agentic involvement.

With the latter I mostly mean this scenario:

  • Run rocketsim start_performance_trace from the terminal or via an agent
  • Perform specific steps in your app, like starting an animation or refreshing a page
  • Run rocketsim stop_performance_trace and let the agent analyze the results

RocketSim will share only what's needed:

  • Network requests from the session
  • Time Profiler output for that specific period
  • Or any other data based on input flags

And all with token consumption in mind. Some of these features I've already got working and together with those teams, I'll make sure you'll get the best possible agentic workflow for iOS development.

UNTIL NEXT TIME

Continue your Swift development journey

I hope you've enjoyed this week's content. You don't have to wait till next Tuesday for more insights, I share every day on these channels:

{% if subscriber.rh_reflink != blank %}Or earn lifetime access to RocketSim & my Swift Concurrency Course by becoming an affiliate of my newsletter.{% endif %}

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

Antoine