SwiftLee Weekly - Issue 342


This week's SwiftLee Weekly covers:

  • The new JSON project format in Xcode 27.2
  • Adopting your app to iPhone Duo
  • Running Cloud Agents with Xcode on Apple Silicon

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

​iPhone Duo Simulator: Testing and optimizing your SwiftUI app​

A brand new device means a brand new Simulator. This time, it's not a simple iteration on the iPhone sim, but a truly new type of simulator that can fold! How it works and how you can use it to adapt your app is covered in this week's article.
​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.

GIVEAWAY WINNERS

Swiftsonic Giveaway Winners

Over the past weeks, you've been able to join the monthly giveaway. I'm happy to announce Kumail, and A. Trejo as the winners. You'll receive a separate email with your ticket for Swiftsonic '26. For all others: stay tuned for a new giveaway soon!

CURATED FROM THE COMMUNITY

​Early Design Explorations for iPhone Duo Layouts​

Looking for design inspiration for your iPhone Duo adjustments? Jordan Morgan takes us through his creative process for his Elite Hoops app.
​swiftjectivec.com​

​Configuring SwiftUI toolbars on iPhone Duo​

Toolbars behave differently on iPhone Duo and you can influence them in SwiftUI using Natalia Panferova's guidance as shared in this article.
​nilcoalescing.com​

​What's New in Vapor 5 Beta​

Vapor 5 is here in beta and worth considering if you have a backend running Vapor. From experimental Macros to removing over 50 locks from the codebase.
​blog.vapor.codes​

​The new JSON project format in Xcode 27.2​

You might have overlooked this with all the iPhone Duo announcements: a new project format arrived in Xcode 27.2 and Sarunw tells you all about it. I can't wait to migrate over!
​sarunw.com​

​What I Use for iPhone App Development in 2026​

Which apps do you use for iPhone app development? Matt Braun shares his collection in this overview.
​mattbraun.co​

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

What the new iPhone Duo Simulator means for me

I bet many of you are actively working on adding iPhone Duo support to your apps. I do too, but a much bigger challenge came up.

​RocketSim's capturing feature suddenly has to deal with a 3D device. It can fold, rotate, and appears more often in landscape: a single-dimension video recorder is no longer sufficient.

As soon as I got my hands on the new Simulator, I started playing around with adding support. I managed to read the hinge angle in real time, capture it consistently during a recording, and reapply it to create beautiful captures afterward.

Another challenge is adding support for touches, grids, and rulers. The screen rect is quite dynamic and no longer easy to reproduce. RocketSim overlays on top of Device Hub, so I have to find a way to recalculate the real dimensions.

Let's say "challenge accepted", I'm already getting close to a first working version. Meanwhile, I've been able to submit RocketTrace to the App Store, so it's been busy days!

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: 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...

This week's SwiftLee Weekly covers: Xcode 27 MCP resulting in higher token costs AGENTS.md best practices iOS 27 weird Dynamic Island behavior Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST How the Xcode 27 MCP can lead to higher token costs when navigating the Simulator Your agent doesn't need a screenshot to navigate the Simulator, it needs to know what's on the screen. I realized this early when working on the RocketSim CLI and improving it a lot, but this week I found out many...

This week's SwiftLee Weekly covers: some View? A Swift 6.4 change for package maintainers A new CLI shipped in Xcode 27.2 beta Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Performance: Find Redraws in Xcode Instruments Agents write more and more of our code, including SwiftUI Views. What it doesn't do as well yet is ensuring great performance, preventing unnecessary redraws. Luckily, there's a way to do this!avanderlee.com SPONSORED Run cloud agents with Xcode on real...