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

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 71
Jul 13, 2021

The darker side of things..

SwiftLee finally has support for Dark Mode! I bet many of you have been waiting for this and should be happy to see it arrive.

Over the past weeks, I've been updating SwiftLee, and I'm not done yet. I'm focussing fully on SwiftLee this weekend as well, hoping to implement most of the issues in my backlog.

I'm super curious to hear about your experience! Maybe you've found something annoying, or maybe you just wished for a feature to exist. You can reply to this email and share your thoughts!

I bet you're also interested to hear whether this newsletter will become dark. I'm actually researching how easy that would be and might add support soon. I guess you'll notice 😉

After this, my focus will be on RocketSim, as I have many more ideas to develop. Keep an eye sharp on Twitter as updates will follow!

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

After diving into Actors and MainActor usage, it was about time to dive into async-await in Swift. Structured concurrency will improve the readability of our code while we're still calling into often complex asynchronous methods. The fact that we can use try-catch statements in combination with asynchronous methods is a huge deal as it would increase the consistency of our code. It even allows throwing and handling errors in the same statement, while errors can be thrown from both asynchronous and synchronous methods. Time to dive in!

TWEET OF THE WEEK

If you’re a fan of VSCode, I bet you like this review of Tim Condon in which he shares his experience of doing Swift development with VSCode as a Swift IDE.

SPONSORED

With a few lines of code, RevenueCat provides in-app purchase infrastructure and analytics without the hassle of managing your own servers. Try it for free.

CURATED FROM THE COMMUNITY

CODE

Sorting with closures is something we most likely all have done before, but have you ever used this technique by Leonardo Pugliese in which tuples are used? I liked it!
I feel like any article inspiring how to manage navigation stacks in SwiftUI can be useful. This time, it’s John Patrick Morgan shining his light on managing SwiftUI navigation state.
John Sundell taught me something new this week: there’s a “nonmutating” keyword in Swift! You might wonder when to use this keyword, but there are actually some good scenarios in which it can be useful.
A little trick by Dominik Hauser I’ve been using for a while already. If you don’t know it yet, I bet you’ll find it useful!
I love how Peter Friese 🥑 dives into details around async-await and cancellation. I feel like canceling async tasks with the new concurrency changes is indeed an essential thing to know how to do if you want to manage concurrency correctly.
Don’t forget older articles can still teach you something new! This time, I learned a new way of setting defaults in user defaults, as explained by Sarun W.
When Point-Free releases a new open-source framework and combines the announcement with “Performance” I’m all ears. This time, it’s a new data structure for working with collections of identifiable elements in a performant way. The linked article explains in detail which problem it’s solving.

TOOLS

Releasing 10 updates in a week? Jordi Bruin made this possible! And no, these aren’t small updates if you ask me. Within a week, he made a fully-featured app that will replace your white app icons for all those projects that you started but never finished.
I believe Shortcuts still comes with many bugs on macOS Monterey, which means you can definitely use some tools to debug if you’re working with them already. Toolbox Pro will (soon) help you out!

COURSES

Yes, that’s not a lie! Apple provides us a free 12 hours course to learn developing apps for iOS. This can be a great point to learn more about developing apps in Xcode, SwiftUI, and UIKit.

SWIFTLEE JOBS

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.
We are looking for pragmatic, proactive senior iOS developers based in the US (for legal reasons) who love writing clean and high-quality code in Swift/Objective-C and are comfortable using UIKit,...

THANK YOU

Thanks for being a SwiftLee subscriber! 
Continue your journey: