Build, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns. Use when…
Modern URLSession networking for iOS 15+ using async/await and structured concurrency. Covers core async/await patterns: data requests, JSON decoding, downloads, uploads, and streaming with response validation Includes protocol-based API client architecture, request middleware for authentication, token refresh flows, and error handling with structured error types Provides pagination patterns, network reachability monitoring via NWPathMonitor, retry logic with exponential backoff, and URLSession configuration best practices Extensive review checklist and common mistakes section covering cancellation, Keychain storage, large file handling, and testing strategies iOS Networking Modern networking patterns for iOS 26+ using URLSession with async/await and structured concurrency. All examples target Swift 6.3. No third-party dependencies required -- URLSession covers the vast majority of networking needs. Contents Core URLSession async/await API Client Architecture Error Handling Pagination Network Reachability Configuring URLSession App Transport Security (ATS) Common Mistakes Review Checklist References
don't have the plugin yet? install it then click "run inline in claude" again.