SwiftLee Weekly - Issue 335


This week's SwiftLee Weekly covers:

  • An inspiring new iOS 27 framework
  • Revealing 2 new app icons
  • SwiftData syncing and testing

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

​@MainActor in Swift explained with code examples​

Crazy to believe I wrote the first version of this article in November 2024. Enough reason to revisit and update it for the latest state of today.
​avanderlee.com​

SPONSORED

​Let AI Control the iOS Simulator​

RocketSim lets AI coding agents inspect, navigate, and verify your running iOS Simulator app through a CLI and Agent Skill for Cursor, Claude, Codex, and Xcode. Give agents real UI feedback instead of letting them guess from code alone. See how it works.

CURATED FROM THE COMMUNITY

​iOS 27: Media Intelligence​

If you're looking for a new iOS app idea, this framework might be the inspiration you need. Anton Gubarenko shares the details.
​antongubarenko.substack.com​

​Avoiding Duplicate Data When SwiftData Syncs Across Devices​

Syncing SwiftData across devices using iCloud sync? This article series by Thorsten Stark will be useful.
​thorsten-stark.de​

​Swift protocols and the main actor​

How does it work when you add @MainActor to a protocol definition? John Sundell explains.
​swiftbysundell.com​

​Demystifying Thread Hopping with Swift 6.2 Approachable Concurrency​

Swift 6.2' Approachable Concurrency is here for a while now, but do you fully understand it? If not, you'll be happy with this article from Nikita Vasilev.
​nsvasilev.com​

​Building Testable SwiftData Apps​

You build an app using SwiftData, but how do you ensure good testability? Mohammad Azam's guidance can help you out.
​azamsharp.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

Bringing the other two Rocket apps to life

I'm beyond excited to share with you the first impression of the two other apps we're currently working on. Or well, the app icons at least!

I can't share many details yet regarding the apps themselves (see previous issue), but I do love to invite you to:

  1. Open Xcode Instruments
  2. Select the Concurrency or SwiftUI template (or combine both, if you know how)
  3. Create a trace of a physical device (macOS works too, but no Simulator)
  4. Save the result as a .trace file
  5. Email me the file and what you hope to get improved

In return, I'll do my best to identify the most prominent issue in your app and present it in a way that's easy for you to fix. See it as a win-win: you help me build the best app possible, I help you improve the performance of your app!

UNTIL NEXT TIME

Know an iOS developer who’d enjoy SwiftLee Weekly?

If this week’s issue helped you, share it with one iOS developer who’d appreciate practical Swift techniques, agentic coding tips, and carefully selected community articles.

​Share on LinkedIn · Share on X/Twitter · Share on Bluesky​

Or copy your personal referral link:

​[RH_REFLINK GOES HERE]​

Rewards: 3 referrals unlock 50% off RocketSim Pro Yearly, 10 unlock Swift Concurrency Course access, and 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...