计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
ios-networking【效率与协作】Build API clients with URLSession, Alamofire, and Codable. Use when implementing URLSession networking, Alamofire, or API clients in iOS.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
URLSession with async/await for simple apps; Alamofire for production APIs with interceptors.URLComponents and URLQueryItem; never use string interpolation for URL parameters.Codable for all JSON mapping. Prefer snake_case key decoding strategies.RequestInterceptor to inject Authorization: Bearer <token> on all requests.RequestInterceptor.onRetry to call refreshToken() and retry.ServerTrustManager or TrustKit for production-grade security.See URLSession and Alamofire implementation examples
@MainActor or main queueJSONSerialization: Use Codable and JSONDecodertimeoutInterval (30s default)