Once-a-year Black Friday deals are coming. Read more.
Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 98
Jan 18, 2022

It's giveaway time!

In a way, you could argue that I'm giving away two things today. Do you see anything new in this issue already?

That's right: Dark Mode!

The funny thing is that I had this on my to-do list for quite a long time, but I never realized how easy it was to implement. Yet, it's here, so I hope you enjoy it! Do reply directly to this email if you find any issues, though, because I would love to make it perfect!

But how about that actual giveaway?

Yes! We're back in 2022 with the first giveaway of this year. This time, it's a book written by Marin Todorov and supported by the Ray Wenderlich Tutorial team: Modern Concurrency in Swift.

I'm not giving away one copy - in fact: I'm giving away five (!!) copies! It's an excellent opportunity for you to get started with the new concurrency framework since the book covers async/await, actors, tasks, and everything in between!

Join the giveaway here

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

At WeTransfer, we've been starting to use async/await more and more. After writing several articles covering async/await and actors, I had the idea that I was ready to work with the new Concurrency framework. Yet, an important part was missing: Tasks—time to dive into this critical part of the recent concurrency changes.

SPONSORED

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

CURATED FROM THE COMMUNITY

CODE

I did not know these two types existed! Thanks to Keith Harrison, I can finally remove our NSSortDescriptors from our projects. I’m not sure whether these also work with Core Data, but we can at least try converting a SortDescriptor back to an NSSortDescriptor and using that. Worth a try!
An exciting approach by Arthur Van Siclen was to create a responder chain in SwiftUI. I’ve recently linked to a similar article, but I feel like we can’t get enough inspiration in this area. Creatively using environment variables can potentially result in solutions that we’ll like using in the future.
An exciting journey by Rudrank Riyam in which he’s solving an orientation monitor by using a custom Property Wrapper.
While we’re at Property Wrappers either way, why not go a step deeper and create a few more custom wrappers using the guidance of Donny Wals? One of them combines generics, environment variables, and async/await. Tricky!
Reduce compile-time and enhance the separation of concern: Majid Jabrayilov promises us microamps architecture will bring it both. Using Swift Package Manager, he shows an example of a design system package that can be reused across multiple apps.
Implementing multiple features simultaneously in a big team is always challenging. This article shines a light on how microfeatures can solve this and how a tool like Tuist helps.

OPTIMISATION

Something I’ve been focused on quite a bit lately: creating credibility online. Marina Gornostaeva ✨ does a great job explaining how to build credibility online, which can be valuable in several scenarios. If you want to grow your blog, become more visible inside the Swift community, this article is a great start.

SWIFTLEE JOBS

Post your company's job positions for free

Make sure to post your company's open job positions for free at SwiftLee Jobs and reach thousands of developers.
For our Chat SDK team we are seeking an iOS SDK Developer to work on our native iOS SDK libraries. This role is open in our Boulder office and is...
With tens of millions of active users, we’re among Europe’s leading iOS app developers. Our team of iOS engineers has been a driving force in our ascent so far. We…
Paper® is the immersive sketching app for capturing ideas anywhere. Over 30 million people have found their personal creative space in Paper—handwriting notes, drafting, diagramming, sketching, and giving form to...

THANK YOU

Thanks for being a SwiftLee subscriber! 
Continue your journey: