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

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 164
Apr 25, 2023

Raising the bar is excellent, but it's more important to be realistic.

I enjoy playing golf in my spare time, and as fanatic as I am, I try to be as good as possible. Whenever I miss a 10-feet (3-meter) putt, I'm disappointed in myself and expect better.

For context: I started playing golf recently, and my handicap is not close to a Golf Pro. It turns out that, on average, Golf Pros make 40% of the 10-feet putts. In other words: it's crazy to expect my putt to hole in one!

Similar things can happen when comparing your app, code, article, or other product to people you follow on social media, like Twitter on Mastodon. One might share high installs, significant MRR, or new achievements that make you feel you should reach the same. 

Instead, stay close to who and where you are. A 2-putt would already be excellent for my current golf experience. Don't raise the bar too high for yourself, but use others' results as an inspiration and motivation to grow. 

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Responding to networking changes in your app is very important, but it's often done by pre-checking for reachability before performing any request. After optimizing several apps' networking layers, I wrote down my learnings to prevent you from making mistakes I made in the past.

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

Engineers sharing experiences of unexpected behavior and bugs: it’s a great way to learn and prevent yourself from making the same mistake. Alexander Weiß shares his journey into what seemed to be a simple improvement.

I’m still wondering how many apps support App Clips and how successful they are. It’s either way great to see Natascha Fadeeva explaining how they work and how you can implement it in your apps.

Keith Harrison explains how the Mirror API prevents him from creating code clutter due to referencing and validating many child properties of a struct.

SWIFTUI

Apple updating SwiftUI documentation to clarify things makes our lives better! Jordan Morgan points out a recent change explaining how to use StateObjects with dependency injection.

Save a SwiftUI view to an image or a PDF using this article by Majid Jabrayilov. I’ve been using the same API for RocketSim to create screenshots with bezels, and it works great.

Get inspired by David Smith, who shares a speed run (speed up 20x video) of his design evolution for a new feature he built.

XCODE

Keep yourself accountable and deliver a new TestFlight build to your users using this technique described by Pol Piella.

OPTIMIZATION

It would be best to read this article by Danijela Vrzan to speed up your login testing flow and be aware of the possibilities breakpoints can unlock. The commands can also be used inside the lldb console, so there’s much to learn!

Tjeerd in ’t Veen describes what I had to learn during my first weeks at WeTransfer. I was one of those: “Let’s use RxSwift; it’s cool!”. We decided to keep things simple, and I’m not regretting ever since.

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.

THANK YOU

Thanks for being a SwiftLee subscriber!

All my content is available to you for free. Like what I do and want to support me?
Help me reach my Sponsor goal on GitHub.