SwiftLee Weekly - Issue 268


This week's SwiftLee Weekly covers:

  • A first look at Swift 6.2
  • A code deprecation coming in iOS 19
  • Create MCP Servers in Swift

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Swift 6.2: A first look at how it’s changing Concurrency

I'm currently preparing my Deep Dish Swift conference talk and diving deep into what's next for Swift Concurrency. Since Swift is open-source, we have the opportunity to look at the latest changes that are coming up next. A few of those relate to a new vision document on Swift Concurrency and in this week's article, I'm giving you a first look at what's coming up.

SPONSORED

Transform Your Career with the iOS Lead Essentials — Limited Offer

Unlock over 40 hours of expert training, mentorship, and community support to secure your place among the best devs. Click now for early access to this limited offer and a FREE crash course!

CURATED FROM THE COMMUNITY

UIApplication delegate deprecation coming in iOS 19 SDK

While a deprecation does not mean you can’t use it anymore, it’s likely UIApplicationDelegate will get deprecated in iOS 19!
lapcatsoftware.com

Advice to My Younger Self

If there’s one way to learn fast, it’s by reading distilled lessons from those with years of experience. Tjeerd in 't Veen shares insights from 25 years of development—you’re bound to walk away with something valuable.
mobilesystemdesign.com

Creating MCP Servers in Swift

Artem Novichkov demonstrates how to build a simple Model Context Protocol (MCP) server in Swift that returns the current Swift version. This article is a must-read if you’re interested in coding with apps like Cursor AI. He walks through setting up the project, integrating the MCP SDK, and implementing a tool that responds with the Swift version.
artemnovichkov.com

Using Swift’s defer keyword within async and throwing contexts

The defer keyword is one of my favorite ways to clean up resource management in functions with multiple exit points. John Sundell discusses its usage, as well as within async contexts.
swiftbysundell.com

swiftlang/swift-subprocess: Subprocess is a cross-platform package for spawning processes in Swift.

I’m slowly adopting Swift 6 throughout my projects to build up migration experience for my concurrency course. Projects like this one from the Swift team are highly inspiring, and I can’t wait to implement it to replace my old NSProcess code!
github.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.

CODE SNIPPET OF THE WEEK

Upcoming Threading changes in Swift 6.2

You can find this post on Twitter/X, LinkedIn, or Bluesky.

QUESTION OF THE WEEK

Can I already see what's actively being developed into the next version of Swift?

It turns out you can!

Swift is open-sourced and that allows you to follow what's coming up next. At this moment, there's a release/6.2 branch in which new changes are actively pushed.

It's active development, so there's no guarantee it's in a state of release at anytime. However, if you follow the weekly proposals updates shared in this newsletter, you should have a good idea of what's coming up next.

If you like, you can even checkout the repository locally, create a one-off toolchain, and use it in Xcode accordingly. This is a way to try out new features before they go live. This process is well-documented with a starting point in the repository's readme.

In fact, it's what I've been doing for this week's code snippet and for my Swift Concurrency Course. I need to know what's coming up next to prevent writing content that's outdated before it even reaches your inbox. This also shows my goal for you—I'll do the hard work to digest all changes and boil it down into this newsletter's content so you stay current without spending much time. Enjoy!

Want to have your question answered next week? Ask your question via this form (anonymously) or reply to this email with your question.

EARN ROCKETSIM LIFETIME

Share and Earn RocketSim Lifetime & a 1-on-1 coaching session

Apple has recognized RocketSim as an Essential Developer Tool in the Mac App Store, and now you can get lifetime Pro access by sharing your unique referral link!

How to get started:

[RH_REFLINK GOES HERE]

Rewards:

  • Earn your first reward after just 3 sign-ups!
  • Check your progress anytime using your referral dashboard.
  • The grand prize? A personalized 1-on-1 career coaching session!

Several subscribers have already claimed their rewards—will you be next?

Thank you so much for your support, and until next Tuesday,

Antoine

SwiftLee Weekly by Antoine van der Lee

A new SwiftLee article, code snippet, Swift Evolution updates, 5 top community articles, and a weekly answer to a question from the community to level up your Swift skills.

Read more from SwiftLee Weekly by Antoine van der Lee

This week's SwiftLee Weekly covers: The end of Flutter? Losing £25,000 Time to drop support for older iOS versions? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Sparkle: Distribution apps in- and out of the Mac App Store When I say 'Sparkle,' for some, it will immediately ring a bell. It's an open-source framework that's available since 2006 (!!) and the most used framework for macOS updates out of the App Store. This week's article might be a niche topic, but the process,...

This week's SwiftLee Weekly covers: Reverse-Engineering Xcode's Coding Intelligence prompt Speed up iOS Launch with fault ordering Running the camera in Xcode's Simulator Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST #Playground Macro: Running Code Snippets in Xcode’s canvas Xcode 26 introduces an integrated playground experience using the new #Playground macro. It's an absolute joy to experiment with your code right inside the editor. I've not been using Swift Playgrounds a lot,...

This week's SwiftLee Weekly covers: Default Actor Isolation macOS Tahoe & App Icons SwiftData or...? Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Default Actor Isolation in Swift 6.2 One of my favorite WWDC changes is the release of Swift 6.2. It comes with many updates to Swift Concurrency, including a new Default Actor Isolation build setting. In this week's article, I'll explain how it works and why it will make your migration to Swift 6+ so much easier. SPONSORED Want to Stay...