Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 70
Jul 06, 2021

Starting at a new job or onboarding, a new colleague can be a challenging task.

When you're starting at a new job, you're likely going to be overwhelmed by HR sending you company information, while your new teammates sent you over invites to GitHub to check out your new projects. On top of that, you get your first issue assigned, which might result in a feeling that you directly need to deliver.

This week, we've onboarded a new engineer in our team. The most important thing for us is to make him feel welcome, giving him the time to adjust and read up on all kinds of documentation.

I've prepared an issue in which mocked JSON needs to be used to create a list view in our app. It's a great way for him to get to know the project without much pressure, as we told him to take it easy. In fact, there's no real deadline for this screen short-term.

If you have a new colleague joining your team, make sure to understand how difficult the first days can be. Try everything to make it easy for them and ask pro-actively whether everything is fine to create room for questions. This way, your new colleague will likely get up to speed sooner and feel much more at home.

This week's SwiftLee Weekly is full of articles related to the concurrency changes in Swift.

Enjoy!

THIS WEEK'S BLOG POST

After writing about Actors last week, it's now time to dive into the first available Global Actor in Swift called the MainActor. To me, this is the end of using DispatchQueue.main in many places, and I'll explain to you why.

TWEET OF THE WEEK

I’m pretty sure I’ll never be able to do this on my WeTransfer machine, but it’s fun to watch Tim Oliver exploring possibilities with the Xcode debugger while having SIP turned off.

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

This post by Majid Jabrayilov is valuable for both learning which types of buttons exist and learning how to use them in SwiftUI. It can be a great resource when you’re getting started with SwiftUI, and you’re looking for the right button for your UI.
While Majid shows us buttons in SwiftUI, Five Stars Blog shows us how we can use the new Button styling introduced in iOS 15. It will likely take some time to use this in our day-to-day projects, but it’s good to have this resource available already.
Alex Grebenyuk decided to open-source Pulse, which is a great gift to us all. First of all, it’s a great app to use during development for reading out logs and network requests, but now it’s also a great source to look at for inspiration. I’m always impressed by the level of quality Alex delivers in his open-source projects, so I bet you’re going to like this one too.
Now that we’re quite into Actors lately either way, why not have a little look into how actors work internally in Swift? Bruno Rocha explains the details to you.
The more I’m diving into the topic of concurrency in Swift, the more excited I’m getting. Async let is another piece of the story that is well explained by Andy Ibanez this week.
SE-0281 introduced the @main attribute, which can now also be used in combination with async/await. Ole Begemann explains how it’s possible to have an async program launch by explaining the details behind the async main method.
Sooner or later, we will all have to decide on a project piece of code to either refactor or rewrite. It can be a difficult decision, especially when you have to convince your non-technical colleagues of it. This article might give you the insights you need to make the right call.

PODCASTS

First of all, I’m super impressed by John Sundell reaching the 100th episode. I always enjoy listening to his podcast. He made sure to make this milestone a special episode by inviting Chris Lattner to discuss Swift’s new concurrency features, the ongoing evolution of the language, and the importance of both language and API design.

SWIFTLEE JOBS

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,...