返回 Skill 列表
extension
分类: 开发与工程无需 API Key

migrating-to-swift-concurrency

提供了完整的Swift并发迁移指南。在迁移到Swift 6、解决数据竞争安全错误、理解Sendable和actor隔离,或逐步采用async/await时使用。

person作者: jakexiaohubgithub

Swift Concurrency Migration Guide

The complete content of the Swift Concurrency Migration Guide by Apple. This guide helps you migrate your code to take advantage of Swift's data-race safety guarantees and the Swift 6 language mode.

Documentation

Code Examples

Swift source files demonstrating migration patterns and concurrency concepts:

Usage Notes

  • Start with Data Race Safety to understand the core concepts
  • Follow the Migration Strategy for a recommended approach
  • Refer to Common Problems for solutions to typical issues
  • Use the Code Examples as reference implementations

License & Attribution

Content License

The documentation and example code in this skill are from the Swift Concurrency Migration Guide, copyright Apple Inc. and the Swift project authors, distributed under the Apache 2.0 License.

Skill Structure License

The structure and organization of this skill (this index file) is copyright Kyle Hughes, distributed under the MIT License.