SwiftLee Weekly - Issue 338


This week's SwiftLee Weekly covers:

  • Dynamic Profiles in Apple Foundation Models
  • StateReporter & MetricKit in iOS 27
  • What's new in Swift 6.4

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

​@StateObject vs. @ObservedObject: The differences explained​

The Observable framework makes these obsolete, but many projects still have old code using these property wrappers. Knowing their differences is important and also teaches you more on how SwiftUI works.
​avanderlee.com​

SPONSORED

​Turn Xcode Instruments Traces Into Ranked Performance Evidence​

RocketTrace helps Apple-platform developers move from dense Instruments recordings to ranked, measured findings across Time Profiler, hangs, hitches, SwiftUI, and Swift Concurrency. Analysis stays local, and each finding can guide your coding agent. Join the early-access list.

CURATED FROM THE COMMUNITY

​Apple Foundation Models: Hybrid AI with Dynamic Profiles​

Apple's Dynamic Profiles help you switch between on-device and cloude-hosted models. The perfect balance and ideal if you're building for Apple's platforms. Peter Friese explains how it works.
​peterfriese.dev​

​withContinuousObservation in Swift​

The Observation framework remains one I want to explore further, even more so after reading about this new API in Artem Mirzabekian's article.
​livsycode.com​

​Detecting (Evil) Dylibs​

Not many know: I graduated on hacking iOS 4. Finding articles like this one by Patrick Wardle always spark my interest, and it's also highly valuable for those apps that require enhanced security.
​objective-see.org​

​Building adaptive SwiftUI layouts with containerRelativeFrame()​

Shoutout to Natalia Panferova for continously delivering high quality articles with supporting visuals. This one is a great way to better understand the containerRelativeFrame() API in SwiftUI.
​nilcoalescing.com​

​iOS 27: StateReporter​

The MetricKit framework is undervalued: it truly helped us a lot back in my days at WeTransfer. Anton Gubarenkoexplains a new framework that makes MetricKit reports even more valuable.
​antongubarenko.substack.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

A new home for this newsletter

As you're receiving this newsletter in your inbox, you're likely not reading it from the browser. However, there’s still value in serving each issue through the web. It allows you to go back in time and find valuable articles, but all issues together are also a goldmine of valuable content.

Each week, I curate the 5 articles I find the most valuable. There are weeks when I evaluate 30 new articles written that week. The result is a database of ‘best in class’ articles, and I felt I should surface them more. You can now find the most popular blogs from SwiftLee Weekly's curation and consider following them directly.

The changes in the Swift Evolution Proposals are also worth following along. In addition to receiving weekly updates in this newsletter, you can now browse proposal states directly. Or, if you want a more focused overview, you can navigate to pages like What’s new in Swift 6.4 and find an overview of related proposals.

I’ve spent the past few weeks slowly building this website in the background, based on my already-written newsletter. I truly hope this is a great addition to those exploring Swift in more depth, and I’d love to hear your feedback!

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: Xcode Instruments with AI Agents System One models in Swift Xcode Preview MCP Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Introducing RocketTrace: Using Xcode Instruments with AI Agents After months of building and beta testing, I'm happy to finally release RocketTrace to you all. Xcode Instruments simplified, an agentic way to optimize your app's performance efficiently with much lower token costs.avanderlee.com SPONSORED Run cloud agents with...

This week's SwiftLee Weekly covers: iPhone Duo Group Lab Questions and Answers overview MCP for Static Analysis of SwiftUI code It's over! Or at least, part of your engineering career Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST How to reduce token usage in Claude Code, Codex, and Cursor Reviewing your AGENTS.md and Agent Skills: it's something I do regularly. This time, I found way more improvements than expected, and I'm sharing you the results and best practices.avanderlee.com...

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