
Ios Networking
Async/await URLSession guide for iOS and macOS networking, covering REST, uploads, downloads, and retry policy.
- skills.sh installs
- 4.7K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
What it does
- Covers foreground REST calls, uploads, downloads, streaming, WebSocket, pagination, retry, middleware, caching, and reachability in Swift apps
- Includes protocol-based API client patterns,
Endpointbuilders,RequestMiddlewareinterceptors, andURLProtocoltest fixtures for offline validation - Enforces HTTP status validation before decoding, bounded retries limited to idempotent requests, and no looping token refresh
- Designed for iOS and macOS developers building or reviewing app networking code with URLSession and structured concurrency
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill ios-networking -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
iOS Networking
Use URLSession with async/await and structured concurrency for ordinary HTTP, REST, uploads, downloads, and streaming. Use Network.framework for lower-level protocols and delegate/task APIs for durable background transfers.
Contents
- Core URLSession async/await
- API Client Architecture
- Error Handling
- Pagination
- Network Reachability
- Configuring URLSession
- App Transport Security (ATS)
- Common Mistakes
- Review Checklist
- References
Core URLSession async/await
URLSession gained native async/await overloads in iOS 15. Prefer these for foreground data, upload, download, and streaming work. Background URLSession transfers are the main exception: they still use task/delegate APIs so the system can deliver events after suspension or relaunch.
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Category
- Mobile Apps
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 94- Swiftui Navigation4.6K
- Swift Testing4.6K
- Ios Localization4.6K
- Swift Concurrency4.6K
- Swiftui Layout Components4.5K
- Push Notifications4.5K
- Swiftui Liquid Glass4.4K
- Swiftdata4.4K
- Debugging Instruments4.3K
- Swiftui Uikit Interop4.3K
- Widgetkit4.3K
- Storekit4.3K
- Swiftui Gestures4.3K
- Apple On Device Ai4.3K
- Swift Charts4.2K
- App Intents4.2K
- Swift Language4.2K
- Authentication4.1K
- Background Processing4.1K
- Healthkit4.1K
- Vision Framework4.1K
- Coreml4K
- Core Bluetooth4K
- Core Motion3.9K
Similar to Ios Networking
More Mobile Apps
swift-networkingjohnrogers/claude-swift-engineering164 installsSwift guide for Network.framework connections, failure debugging, socket and URLSession migration, and network transitions.
flutter-networkingmadteacher/mad-agents-skills733 installsComprehensive Flutter networking guide for HTTP, WebSocket, auth, error handling, and caching in existing app stacks.
axiom-networkingcharleswiltgen/axiom1.6K installsComprehensive router for Apple networking covering URLSession, Network.framework, NetworkConnection, and connection diagnostics.
ios-swift-developmentaj-geddes/useful-ai-prompts1.5K installsNative iOS app development in Swift using SwiftUI, MVVM, and async/await patterns with secure defaults.
flutter-use-http-packageflutter/agent-plugins38.7K installsGuide to Flutter REST networking with the http package, covering setup, typed responses, and isolate-based JSON parsing.