Give your simulator superpowers

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 167
May 16, 2023

The mental part of stress.

I'm writing this edition of SwiftLee Weekly on the Airport of Crete, Greece. We're just informed about a 2-hour delay, meaning we must keep up our mood a little longer.

Stress is always waiting around the corner when you try to catch a flight. However, it's truly a mental game. We arrived early enough, there was no reason to rush, hurry, or get stressed, but there was still a feeling of tension.

The same can happen during work hours. You plan your day, expecting to finish a specific task, but you're suddenly asked to do many other things. You might get a stressful day if you retain the idea of finishing the planned task. Instead: try to stay realistic and evaluate circumstances. Replanning your day will prevent stress and makes you end up feeling productive.

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Swift offers different kinds of ranges, like closed and half-open ones. A common way of using them is by selecting a specific range of elements from an array or String. The latter, however, requires a bit more code to ensure you're selecting the expected substring.

SPONSORED

What happens when you survey 1600+ Mobile DevOps teams? You get 5 key Mobile DevOps benchmarks that can guide mobile teams to high performance. Start setting goals for your team based on industry-recognized benchmarks by downloading our free report.

CURATED FROM THE COMMUNITY

SWIFT

I did not know about these view modifiers! I’ve been using NSOpenPanel all the time and might be up for a refactor now that I’ve read this article by Majid Jabrayilov.

Related to Majid’s article on selecting files, this article by Keith Harrison might be helpful. Security-scoped files require a different way of accessing them.

It’s always helpful to learn from others encountering unexpected behavior. This time, it’s Jordan Morgan sharing his learnings from creating a Swift Package.

While you might only use #file in a few places, it’s good to know its behavior has changed in Swift 5.8. Sarun tells you all about it.

SWIFTUI

Parallax effects always add an extra touch to your app’s design. Artur Gruchala demonstrates the effect and shares SwiftUI code examples for you to use.

It’s all in the details! Especially when your app’s main functionality has to do with interactions. Any delay can make your app feel less responsive. Christian Selig demonstrates a better alternative to UIPanGestureRecognizer.

FEATURED SWIFTLEE JOBS

Join the SwiftLee Talent Collective if you're hiring mobile engineers or are open to exciting opportunities.

Other Jobs:
To check out more exciting opportunities or to post your job position: Check out the SwiftLee Jobs Board.

For companies
Get bi-weekly drops of world-class talented mobile engineers, open for new opportunities. Pre-market:  Many members of the SwiftLee Talent Collective haven't signaled anywhere else that they're open to new work.

For mobile engineers
Apply and receive attractive opportunities without obligations. If you will, your profile can stay completely anonymous, and you decide which companies to reply to. Read my tips to increase your chances of getting accepted as a talent.