Global actor in Swift Concurrency explained with code examples
The @MainActor is probably well-known and it's an example of a global actor. But how and when should you use a custom global actor?
Read the articleJoin 31,000+ Swift & iOS developers — free, every Tuesday, in 5 minutes.
Almost there — check your inbox to confirm your subscription.
No spam. One email every Tuesday. Unsubscribe in one click.
The @MainActor is probably well-known and it's an example of a global actor. But how and when should you use a custom global actor?
Read the articleIf slow QA processes are slowing down your iOS releases, try QA Wolf. Their AI-native service delivers 80% automated test coverage in weeks, with tests running on real iOS devices—all in 100% parallel with zero flakes. Rated 4.8/5 on G2. Schedule a demo to
Learn moreIf you’re used to working with NSProcess or building Mac apps, you’ll enjoy this package as much as I do for RocketSim.
We know Swift is open-sourced, maybe you know about swift-package-manager too, but did you know Swift Testing is open-sourced as well?
It was hard to skip this one just because of the name. But honestly, it’s been a great solution for installing toolchains and testing upcoming Swift features!
You won’t be surprised by this one. I’ve mentioned this repo several times in my concurrency course as they fill a gap in the standard library!
There are types you expect to exist in the standard library, but you end up with their NS- variant. For example, NSOrderedSet. This package might be your way out!
While I'm on a holiday, I figured it would make sense to share a different code snippet of the week. It's one of the biggest wins for me after going indie: family time.
Many Indie developers share benefits like:
Working on your own apps only Flexible time Work from anywhere
But I know many of them also enjoy much more time with the family. I won't say I'm less busy as an indie, but I'm always around my two kids. I don't have to commute to work and I can often quit the day early and make up for that time in the evening if needed.
I'm writing this email the day before we leave for a 1-week holiday. That's also why you've found some other curated links this time! Yet, I hope you've enjoyed this edition.
P.s., if you seek to go indie, I bundled all the learnings from my journey in a dedicated course at www.going-indie.com.
You can find this post on Twitter/X, or LinkedIn.
Join 31,000+ Swift & iOS developers and get the next one in your inbox — free, every Tuesday, in 5 minutes.
Almost there — check your inbox to confirm your subscription.
No spam. One email every Tuesday. Unsubscribe in one click.