Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 113
May 03, 2022

Stay updated with the latest in Swift & SwiftUI

The 2nd largest newsletter in the Apple development community with 18,615 developers. Don't miss out – Join today:


An Apple Park Special Event.

During this week's iOS retrospective at WeTransfer, we wondered when we would be able to apply for a potential ticket for the Apple Park Special Event. It's already May, and we still don't know anything.

Just before I started writing this intro, I found out you're now able to apply until the 9th of May. Whether you're invited will be announced three days later, but the biggest question for me is: is it worth going all the way to SF for just one day?

I guess I have a family to care for now, and I would totally say yes a few years ago, but right now, I'm mostly thinking it's not the same as a whole week of WWDC sessions and parties. 

Though: it's an excellent opportunity to meet fellow developers in person, hang out at Apple Park, and meet Apple engineers and experts. If you have the chance to go, I would definitely apply!

Enjoy this week's SwiftLee Weekly.

THIS WEEK'S BLOG POST

After covering async streams last week, I was excited to look into async sequences today. They're the underlying implementation of async streams and allow us to iterate values asynchronously. Like regular sequences, you won't often create custom implementations yourself, but it's good to know how they work and how you can iterate over values using async/await.

SPONSORED

Build real-time chat messaging in less time. Rapidly ship in-app messaging with our highly reliable chat infrastructure and feature-rich SDKs. Improve your overall in-app conversion, engagement, and retention.

SWIFTLEE MONTHLY GIVEAWAY

Over the past two weeks, you've been able to join the giveaway to win a copy of The App Icon Book by Michael Flarup. I'm happy to announce that Takasur Azeem is the lucky winner of this month's SwiftLee Giveaway!

Stay tuned until June for another giveaway.

SWIFTLEE JOBS

Get your job positions listed on all 190+ SwiftLee articles and 4 SwiftLee Weekly editions. Read more.
Browse Swift-related Jobs, or add your own on SwiftLee Jobs.

CURATED FROM THE COMMUNITY

SWIFT

I always enjoy Ole Begemann diving into the details of a specific topic. This time, he looks into the Codable format of attributed strings.
There are never enough articles on memory management, especially when it’s about using weak self in Swift. Chris Downie does a great job explaining what he thinks are the golden rules of using weak self. Combined with figures this article will help you better understand the concept.
Chances are high you’re working on a project that is not yet fully built with SwiftUI. Communicating between UIKit (or AppKit) and SwiftUI is a common problem to solve. Jordan Morgan gives us some examples of how you can deal with this.
During the week, I often encounter valuable resources published before the past week. This gist by Atierian is full of helpful resources regarding Mobile Systems Design which is an excellent opportunity for you to explore networking solutions, effective search solutions, or interviewing tips.
I’m always happy to see a new Point-Free open-sourced library. Their code quality is always impressive and inspiring, so it's worth a look even if you’re not planning to use it. This time, it’s an open-source package for URL and Vapor routing.

DEBUGGING

Using debug options from the Settings bundle is a great way to unlock debugging options in even production builds. Arnaud Joubay 🥐 explains how he deals with this and how you can do the same.

OPTIMIZATION

Looking at my first version of Stock Analyzer, I think I would have to admit I don’t entirely agree with Filip Nemecek. Still, I should’ve implemented the review prompt and first installed version since I can totally see the added value!

STORIES

Before reading this article, I knew Felix Krause from his consistent Twitter avatar or as the founder of Fastlane. Now I’ll never forget him for this impressive set of personal data that fascinates me. It’s pretty interesting to have such an overview of your personal life with so many data points!