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: ContentBuilder in SwiftUI Headless Xcode 27 MCP iOS 26' DataDetector Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Swift Testing explained with code examples Are you yet using Swift Testing? Apple continued to improve the framework and I barely touch XCTest anymore. Here's an update on all the latest.avanderlee.com SPONSORED Fastlane alternative - Codemagic CLI tools Are you tired of Ruby and Fastlane installation issues? There's got to be a...

This week's SwiftLee Weekly covers: Xcode 27’s new MCP server experience Sendable and @Sendable closures explained Adaptive toolbars and concentric buttons in SwiftUI Before we dive in: this weekend I revealed my next app. RocketTrace turns intimidating Instruments traces into a ranked list of performance findings, so you know what to fix instead of where to look. Early beta signups are open, and I'm inviting testers in small waves: join the waitlist here. Enjoy this week's SwiftLee Weekly!...

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