SwiftLee Weekly - Issue 331


This week's SwiftLee Weekly covers:

  • Spending $10K per week on agents
  • A new Safari MCP server
  • A risk of rotating a Liquid Glass view

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Defer in Swift explained with Code Examples

Introduced in Swift 2.0, you might wonder why I share this article now. Two reasons: Swift 6.4 introduced changes & I still think we’re not embracing defer enough in our code.
avanderlee.com

SPONSORED

Tired of Fixing Xcode UI Tests Every Release?

Drizz replaces brittle XCUITest scripts with Vision AI. Describe what to test in plain English, and Drizz validates your iOS app like a real user on real devices. No selectors, less maintenance, more confidence before every release. Explore Drizz.

CURATED FROM THE COMMUNITY

10 Tips for Building iOS Apps That Handle Dynamic Type Well

Must know if you take accessibility seriously. If you’re not, you’re not taking app development seriously enough!
mobilea11y.com

Introducing the Safari MCP server for web developers

Yes, we’re app developers. Yes, Chrome is more popular for web development. Yet, I’m sure you’ll be interested to find out about an official Safari MCP server!
webkit.org

Debugging Notes on Two SwiftUI Animation Bugs

The best way to learn is often by learning from others’ mistakes. Here’s Fatbobman sharing debugging notes from fixing two SwiftUI Animation bugs.
fatbobman.com

Rotating Liquid Glass in SwiftUI without breaking the shape

An innocent piece of code that rotates a SwiftUI view with a glass effect. The result, however, can be disappointing, as Artem Mirzabekian explains.
livsycode.com

How To (Not) Spend $10k/wk on Coding Agents

Tokens can be expensive, especially if you’re optimizing your agent’s workflow as much as Allen Pike did. He shares their learnings and story, absolutely a must-read if you’re into agentic development.
allenpike.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

Back into business

After two great weeks of holidays, it’s time to get back into business. Here’s what you can expect in the upcoming weeks:

  • The release of the first few modules for my new AI Fundamentals course
  • A first introduction to a new addition to the Rocket family. Yes, we’re going to release a new app that starts with "Rocket" in the name!
  • A major update to RocketSim, with enhanced support for physical devices and more CLI functionality.

The WWDC releases are still fresh, and I’m excited to dive into adding support for new APIs. While I’m sure you know what’s new in SwiftUI or Swift Concurrency, you might not know about the new possibilities that exist for Simulators and Devices. I’ll take responsibility for just building what you need!

RocketSim’s CLI has been embraced by many existing customers, but I’m also working with a few enterprise companies that are considering using it. This requires me to apply a few important improvements that will ship over the coming weeks.

I realize I’m teasing a lot here, but it’s day 1 post-holiday, so bear with me. Stay tuned for exciting updates.

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: Using Cursor in Xcode 27 3 breaking changes in iOS 27 SDK A proxy, agent integration, and camera solution for Xcode's Simulator Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Memberwise Initializer in Swift explained with Code Examples You use them without thinking; you’re so used to them. Yet, you’ll definitely recognize the issue that’s solved with memberwise initializers in Swift 6.4.avanderlee.com SPONSORED Add AI Control to Xcode’s Simulator...

This week's SwiftLee Weekly covers: AI Controlling Xcode's Device Hub A new CLI for App Store Connect What's new in SwiftUI & Swift Concurrency? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Swift 6.4: What’s New in Concurrency With so many sessions and announcements, it might be hard to keep an overview of what actually changed in the language we use daily. This week’s article shows an overview of Swift changes related to Swift Concurrency.avanderlee.com SPONSORED Add AI Control...

This week's SwiftLee Weekly covers: What's new in SwiftData? A peek into Xcode 27' SwiftUI Agent Skill Using Claude with Foundation Models Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Best Practices, straight from Apple's Xcode 27 Agent Skill If you’re following me for a while, you know I love building Agent Skills. That’s why I couldn’t resist peeking deeper into Apple’s Agent Skills and I found a lot of great learnings regarding SwiftUI Best Practices.avanderlee.com...