Swift6 Concurrency

Default to Swift 6 language mode with complete concurrency checking from the first line of code; default actor isolation is `MainActor`, so Sendable is required only for types that cross into `nonisolated` / actor code, not for every in-house type; isolate third-party deps that lag with @preconcurrency. Invoke when writing Package.swift, picking the Swift language mode in Xcode build settings, or when asked "should I turn on strict concurrency?".

wei18 9ac94bf 4.7 KB Updated

File contents

wei18/apple-dev-skills/tree/main/apple-dev-skills/skills/swift6-concurrency commit 9ac94bfbaf

Frequently asked questions

npx skillmds@latest add wei18/swift6-concurrency