Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 87
Nov 02, 2021

Stay updated with the latest in Swift & SwiftUI

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


Solving crashes, can that become easier?

If there's anything time-consuming while developing apps, it can be solving crashes. Sometimes, it's super hard to know where a crash happened, and you're unable to reproduce it yourself. Marking an issue as "can not reproduce" becomes tempting, although you know you will still see the same reports coming in.

It's ironic to see Bruno opening with Closed: Cannot Reproduce in his article solving crashes. It tells us that we're all experiencing the same!

At WeTransfer, we spent a lot of time improving our processes for efficiency. As engineers, we work closely with our support team, trying to find improvement points to save time-solving issues in the short term future.

As a result of this, we released Diagnostics 2.0 this week. The detailed logs, error reports, session filtering, MXMetric logs, and exception summaries have allowed us to solve issues much faster. 

Even better: due to the detailed logs, our support team often doesn't even have to reach out to us since they know what's going on for a specific user. 

I'm not asking you all to integrate Diagnostics into your projects (although you wouldn't regret doing so), but I do want to point out that it's essential for you as a developer to rethink processes over time. Teams are evolving, and so are routines. If you can save time on solving issues, you'll have more time to build excellent features.

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Now that Xcode 13.2 beta adds support for the latest concurrency changes to be backported to older OS versions it's a great time to look into async-await again. I've updated this earlier released article with detailed instructions on adapting async-await in existing projects. 

Have you tried out the built-in refactor methods for this already?

SPONSORED

Increase your application's performance with rich context about errors and slowdowns in your iOS applications. Get started with 2 free months of their Business Plan (the best one) with code: SWIFTLEE

SWIFTLEE GIVEAWAY

Last week I announced the NSSpain Conference Ticket Giveaway and I'm happy to announce the winner: Jorge Rosado.
If you didn't win this time, make sure to buy yourself a ticket since this will be a fantastic conference with many great talks.

DEVELOPERS IN THE NETHERLANDS

My friends at OfferZen are running their annual #DevNationSurvey. I especially like this survey since they’re creating in-depth localized data of developers in The Netherlands, bringing more transparency to the tech industry.
If you’re a developer in The Netherlands, help them out and ensure we can all get value out of this survey. Best of all? You’ll get some free swag by participating!

CURATED FROM THE COMMUNITY

CODE

Concurrency is hot this week, looking at the many articles written about it! This time, Lee Kah Seng explains how you can use Task Groups to combine multiple tasks.
Although it’s still an experimental language feature, it’s great to see distributed actors arriving for Swift on the server. Distributed actors are similar to the ‘local’ actors we know from the latest Swift concurrency changes but come with support for distributed systems.
If you’re like me and haven’t done much with RealityKit yet, you might like this article by Ralf Ebert, who is creating a 3D rolling dice.
Keyboards are fun, right? It’s always challenging to handle the many scenarios that come with keyboards being displayed on devices. I bet you’ll learn a lot from this article by Keith Harrison, if not only about the many ways a keyboard can be displayed.
It’s great to see a new article by Donny Wals, this time covering AsyncSequence allowing us to asynchronously receive and use values.
Not everyone has access to Xcode Cloud yet, which makes this article by Eneko Alonso interesting enough. I do have access, and I have been using Xcode Cloud for RocketSim lately so that you might see some more articles soon 😉

ENVIRONMENTS

Have you been lucky enough to switch to an M1 development machine lately? If so, you must recognize quite a bit from this article by Josh “So Many Typos” Holtz. At least I did!

SWIFTLEE JOBS

Is your company hiring too? Post your job position for free at SwiftLee Jobs and reach thousands of developers.
TECHSTACK: Swift, RX Swift, MVVM, Azure/Git, Scatch/Postman WAT GA JE DOEN? In de rol van iOS Developer werk je aan de mooiste apps binnen de Nederlandse markt (vinden we vooral...
We are looking for an iOS Software Engineer who will join our team of talented engineers to design and help us to build the next generation of iOS software. You...
Work with Swift, SwiftUI, and Combine in a project that’s fully written in Swift. A modular foundation built with Swift Package Manager makes it a great project to work in.