swift-networking
✓在实现 Network.framework 连接(NWConnection、NetworkConnection)、调试连接失败、从套接字/URLSession 流迁移或处理网络转换时使用。涵盖 UDP/TCP 模式、结构化并发网络 (iOS 26+) 和常见反模式。
SKILL.md
Network.framework is Apple's modern networking API for TCP/UDP connections, replacing BSD sockets with smart connection establishment, user-space networking, and seamless mobility handling.
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Getting Started | Setting up NWConnection for TCP/UDP, choosing between APIs | | Connection States | Handling .waiting, .ready, .failed transitions | | iOS 26+ Networking | Using NetworkConnection with async/await, TLV framing, Coder protocol | | Migration Guide | Moving from sockets, CFSocket, SCNetworkReachability, URLSession |
在实现 Network.framework 连接(NWConnection、NetworkConnection)、调试连接失败、从套接字/URLSession 流迁移或处理网络转换时使用。涵盖 UDP/TCP 模式、结构化并发网络 (iOS 26+) 和常见反模式。 来源:johnrogers/claude-swift-engineering。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-networking- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 swift-networking?
在实现 Network.framework 连接(NWConnection、NetworkConnection)、调试连接失败、从套接字/URLSession 流迁移或处理网络转换时使用。涵盖 UDP/TCP 模式、结构化并发网络 (iOS 26+) 和常见反模式。 来源:johnrogers/claude-swift-engineering。
如何安装 swift-networking?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swift-networking 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/johnrogers/claude-swift-engineering
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01