Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardSwiftSendable and data-race safetySingle-choice MCQ

A `final class C: Sendable` has a single stored property `let cache: NSMutableArray`. Why does the compiler reject the explicit `Sendable` conformance, and what is the underlying rule?

final class C: Sendable { let cache: NSMutableArray = [] }