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.
Read the articleJoin 31,000+ Swift & iOS developers — free, every Tuesday, in 5 minutes.
Almost there — check your inbox to confirm your subscription.
No spam. One email every Tuesday. Unsubscribe in one click.
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.
Read the articleDrizz 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.
Learn moreMust know if you take accessibility seriously. If you’re not, you’re not taking app development seriously enough!
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!
The best way to learn is often by learning from others’ mistakes. Here’s Fatbobman sharing debugging notes from fixing two SwiftUI Animation bugs.
An innocent piece of code that rotates a SwiftUI view with a glass effect. The result, however, can be disappointing, as Artem Mirzabekian explains.
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.
Last week's Swift proposal state changes. Review-stage proposals are your chance to influence Swift's future.
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.
Join 31,000+ Swift & iOS developers and get the next one in your inbox — free, every Tuesday, in 5 minutes.
Almost there — check your inbox to confirm your subscription.
No spam. One email every Tuesday. Unsubscribe in one click.