A couple of days ago I ran into a really interesting use case: I wanted to protect a method from being called more than once at a time. You might think "actor, done" — but nope, an actor won't save you here.
Because of actor reentrancy, the moment your method hits an await and suspends, another task can sneak in and start running the same method.
I handed Xcode a task three months ago and walked to the kitchen for coffee. When I came back, the build was green, two files I hadn’t named were edited, and a test I’d forgotten existed was passing again. I sat down, read the diff, and reverted half of it.
That’s the honest shape of the last three months. The agent built into Xcode 26.3 is genuinely good at a specific kind of work, genuinely bad at another, and the gap between those two is exactly where you earn your keep now. This is a field report, not a launch-day hot take — three months of real work on VinylCrate, the wins and the reverts both.
Result builders (formerly known as function builders) are a powerful Swift feature that enables you to create elegant domain-specific languages (DSLs). They're the magic behind SwiftUI's declarative syntax and can be used to build your own custom DSLs. This is an advanced Swift feature (requires Swift 5.4+; platform availability depends on the APIs you use, such as SwiftUI). Familiarity with generics and protocols is recommended.
Swift 6.2 added a small concurrency API that solves a very specific problem: sync code sometimes needs to start async work, but still needs the first state change to happen before the caller continues.
Reactive programming became popular because it solved a real problem. Apple platforms had many asynchronous and event-driven APIs, but they lacked a unified model for composing them. RxSwift, ReactiveSwift and Combine offered that model, and for many years, that made them feel like the missing piece in iOS architecture.
Before an iOS app can receive remote notifications, we first need to register the app with Apple Push Notification service (APNs). This process includes requesting notification permission from the user, registering with APNs, and handling the generated device token.
In this article, we'll look at how to set up push notification registration in a SwiftUI app.
The real iOS problem is not “how do we make colors stronger?”It is: how do we make the frame feel richer without breaking the image?
Before Swift Concurrency, it was possible to accidentally access mutable state from multiple threads at the same time. These bugs were notoriously difficult to reproduce because they depended on timing and thread scheduling. An application might work perfectly for months and then suddenly crash or corrupt data in production.
When a crash happens deep inside concurrent code, the first question is always: which task did this? Pthreads had names, Grand Central Dispatch had queue labels — they show up in stack traces, in Instruments lanes, in debugger output. Swift Concurrency had none of that until SE-0469, implemented in Swift 6.2.
While building and testing a macOS app locally, values stored in UserDefaults remain between launches. This includes data stored using the UserDefaults APIs directly or data persisted via the SwiftUI's @AppStorage property wrapper. But it's often useful to clear saved values to test onboarding, restore default settings, and reproduce a fresh app state.
Are you tired of Ruby and Fastlane installation issues? There's got to be a better way! Discover Codemagic open source CLI tools. It is not a drop-in replacement for all of what Fastlane does (screenshots for example), but we use it at Codemagic to build and publish iOS and Android apps, also versioning and device provisioning.