Getting async/await and having to await using it
Welcome to my fourth weekly newsletter.
These are the curated links from this week's regular episode:
- WWDC21: What’s New in Unit Testing for Xcode 12.5
Leave it to Jon Reid to provide us with some common sense. Yes, Xcode 13 is the latest and greatest by Apple. But they added some great stuff for unit testing in Xcode 12.5 that you can use today. Have a look at Jon's excellent write-up of what's new for Unit Testing in Xcode 12.5.
- Meet the new Button styling | FIVE STARS
Now we have received our dose of common sense, let's dive into some of the new bits from WWDC21 as well. Say "Hi" to Federico Zanetello's article on some great things you can do to Buttons in the SwiftUI being preopared for release later this year with iOS 15 / Xcode 13.
- Diffable data source behavior changes and reconfiguring cells in iOS 15 & Debugging a DiffableDataSource CellProvider · Jesse Squires
You can tell Jesse is getting some hands-on with Diffable DataSources in iOS 15. Share in the insights he has gained by reading Jesse's articles on the topic of Diffable DataSources. The articles I linked will showcase what has changed and how to debug Diffable DataSources. Great stuff to get yourself ready for when you start working with these APIs.
- Mutating and non-mutating Swift contexts | Swift by Sundell
The last article I want to focus your attention on is by John Sundell. It is long, it is thorough. But take the time to read it front to back. You will learn a couple of great things about mutability in Swift.
Now on to the title of this week's newsletter. We are getting async/await. Both conceptually and it is something released this fall. But today I had to explain to a few people it will probably something we will not be using in the foreseeable future yet. Supporting older iOS versions usually has some impact. But with async/await it really looks like something we can not reasonably touch until the minimum supported target has full support. That's over two years from now, when we are dropping support for iOS 14. On a positive note, I do hope Apple keeps up with the support of older iPhones with newer iOS releases. Any iPhone running iOS 13 can run iOS 14 and iOS 15. That really helps with the version adoption timelines.
A personal note, I had my second Pfizer shot this week. Feels great to have that behind me. I really hate being stuck with a needle. But I hope in some way it will help.
The onboarding of the new team member seems to be progressing nicely. He is already working on a feature on his own. We are keeping an eye on him and most importantly we check in frequently and keep repeating that being stuck is an immediate reason to ask for help. And we've been helping him frequently. Already his skills are showing and I look forward to getting his insights on specific areas of our codebase. I love it when onboarding works and someone can hit the ground running without feeling overwhelmed.
I've been typing on my IQunix L80 for a week now. And I must say I should've went out and purchase a new keyboard earlier. I highly recommend anyone doing a lot of typing to find something that suits your needs and taste.
And now something cool. Have a look at Code Review | Curated code improvement tips. I think you will like what Marina Gornostaeva is doing with her new newsletter.
|