What problem does it solve?
Builds a cohesive, production-ready approach to iOS/macOS networking by standardizing URLSession usage with async/await, structured concurrency, and modern Swift patterns. This Skill helps teams write robust, testable network clients that handle common concerns like decoding, error handling, retries, and background transfers, while supporting REST APIs, file downloads/uploads, and WebSocket interactions.
Core Features & Use Cases
- Core URLSession async/await patterns for data, downloads, and uploads.
- API Client Architectures (protocol-based and lightweight closure-based patterns).
- Error handling with structured error types, URLError mapping, and retry strategies.
- Background transfers, WebSocket support, and testing with URLProtocol mocks.
- Pagination, network reachability monitoring, and configurable URLSession setup.
Quick Start
Build a production-ready API client using URLSession with async/await, decode responses with Codable, and add retry and authentication middleware.