AceMobileInterview

iOS track

General topic questions

Actors and Isolation

HardLess common

Free section · general topics & algorithms

How do actors protect mutable state? What is nonisolated?

Reveal model answer
Actors serialize access to their state, preventing data races. Await hops to the actor. nonisolated marks members that don’t touch isolated state (e.g. pure helpers) so they can be called without await.
Core Data ConcurrencyBack to track →