Swift科普文留下评论 Swift 6 要求在异步上下文使用类型必须是 Sendable 的问题 方君宇 2026年1月25日 2026年1月25日 Sendable 是 Swift 并发系统中的一个 …
Xcode报错留下评论 Xcode报错:Cannot pass function of type ‘@Sendable () async -> ()’ to parameter expecting synchronous function type 方君宇 2026年1月25日 2026年1月25日 Swift如果把异步代码写入MainActor.r …
Swift科普文留下评论 Swift目录遍历行为的控制选项DirectoryEnumerationOptions 方君宇 2026年1月25日 2026年1月25日 DirectoryEnumerationOptio …