top of page


Can a Property Be async in Swift?
Yes. Since SE-0310 a read-only computed property can be async or throws. See get async in protocols, actor snapshots and the exact compiler errors, tested on Swift 6.2.

Matthew Thomas
4 days ago6 min read


What Is an isolated Parameter in Swift?
What does an isolated parameter do in Swift? How isolated (any Actor)? = #isolation keeps a helper on its caller's actor, tested on Swift 6.2 and 6.4.

Matthew Thomas
5 days ago7 min read


How Do I Make an Actor Conform to a Protocol in Swift?
Fix 'actor-isolated cannot satisfy nonisolated requirement': async protocol requirements, nonisolated Hashable and Identifiable, and protocols that refine Actor.

Matthew Thomas
6 days ago7 min read


What Is isolated deinit in Swift, and When Do You Need It?
Why a @MainActor class's deinit isn't isolated, what Swift 6.2's isolated deinit changes, when the cleanup runs, and the rules the compiler enforces, with tested code.

Matthew Thomas
6 days ago7 min read


How Do I Fix 'Main Actor-Isolated Property Can Not Be Referenced From a Nonisolated Context'?
Fix 'main actor-isolated property can not be referenced from a nonisolated context' in Swift 6 with four compiled fixes and a snapshot pattern.

Matthew Thomas
Oct 296 min read
bottom of page