SwiftLee Weekly - Issue 320


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:

Or earn lifetime access to RocketSim & my Swift Concurrency Course by becoming an affiliate of my newsletter.

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: Network Optimization using AI Agents Lazy properties in SwiftUI? Kids & Vibe Coding Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Network Requests Optimization using Xcode’s Simulator & Agents This feature shipped silently a few months ago and I never got to talk about it in detail: prompt exports for Network Requests. SPONSORED Give your AI agent eyes and hands on iOS FlowDeck lets Claude and Codex tap, scroll, find bugs, and fix them — on the...

This week's SwiftLee Weekly covers: SwiftUI is not accessible by default A list replacement in SwiftUI Controlling the Simulator using Agents Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST RocketSim 15: VoiceOver Navigator & Pro Simulator Recordings A year ago, an update this large would've cost me months. Now, I was able to finish this in a matter of weeks. With a brand new VoiceOver navigator, post editor for screenshots and videos, and a unique Tinted Liquid Glass accessibility...

This week's SwiftLee Weekly covers: 6 new Agent Skills for Xcode WWDC 2026 Pins Swift 6.3 and Xcode 26.4 must-knowns Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Xcode Build Optimization using 6 Agent Skills Not one, but six new Agent Skills! Early adopters improved Xcode build times by 78%. I've been working on this for the past weeks and optimized it with the help of many community contributors (thank you all!!). Now it's time to let you benefit and optimize your Xcode build...