iOSProgramming
samus7070
•
1y ago
•
100%
Thread safety in Swift with actors
swiftwithmajid.comI found this link via SwiftUI Weekly #161
Actors is the new Swift language feature, making your types thread-safe. This week, we will learn how to use actors and their benefits over locks. We will also discuss actor reentrancy, the main confusing point of using actors.
In the previous post, we modeled a Store type, allowing us to implement state management predictably.
Comments 0