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

RocketSim: An Essential Developer Tool
as recommended by Apple

Issue 145
Dec 13, 2022

Preparing for the unexpected.

This week I've been working hard on adding macOS support to our internal SDK at WeTransfer. Our SDK contains about ~20 packages, ranging from UI and Foundational focused logic.

Our decision to develop modularly using Swift Package Manager pays off during this transition. In a few days, I successfully added macOS support, allowing us to reuse all packages we've developed over the past years.

Packages for networking, authentication, tracking purposes, and UI are all transitioned and ready to be reused. Best of all: they're heavily tested, allowing us to validate functionality while running tests for macOS.

In the past, I've had projects in which we decided not yet to build packages since it wasn't needed then. We didn't prepare for the unexpected, which I'm glad we did now at WeTransfer.

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Those that worked with Objective-C probably remember the NS_OPTIONS type. I remember using it often back in the day, but I realized I only sometimes use the Swift equivalent. Therefore, I decided to dive deep into Swift's OptionSet and am convinced to use it more in my code.

SPONSORED

Stream's Chat SDK helps you build beautiful chat applications with as little code as possible. With our SDKs, you can bring high-quality chat experiences to all of your end users. SDKs available for UIKit and SwiftUI.

CURATED FROM THE COMMUNITY

SWIFT

This is my go-to operator when I try to find an even or odd number. Sarun W. explains how the operator works and how you can use it.

This is a good reminder by Marco Eidinger ‍ that we can use labeled associated values. If you ask me, this should be the default to improve readability. However, I wouldn’t be surprised if many of you are unaware of this possibility.

Every time I see stride in Swift, I wonder why I don’t use it more often. It’s a matter of keeping it on top of mind since it can be helpful in many cases. Keith Harrison explains how it works.

I love that Josh “ Conf” Holtz published a post on the blog of an employer that makes it easy not to use StoreKit 2 directly! Nevertheless, I know some of you implement purchases without 3rd party frameworks, for which this is an excellent article.

APPS

Those that know me also know I’m tall! I can’t wait to try this measurement feature explained by Leonardo Pugliese at the next iOS conference.

XCODE

Have you ever seen the CarPlay Simulator? I’ve been using it a long time ago but didn’t see a recent version until this article written by Moritz Philip Recke.

STORIES

Launching your app comes with milestones and journeys. Jordan Morgan had a successful budget-tracking app that he eventually sold. Looking back, there are a few things he learned and shares with us in this article.

FEATURED SWIFTLEE JOBS

Join the SwiftLee Talent Collective if you're hiring mobile engineers or are open to exciting opportunities.
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.