Receber por email
← Voltar para o catálogo

swift-networking

Builds a protocol-based async/await networking layer with URLSession, testable abstractions, error handling, and mock support for Swift projects. Use when user says "add networking", "create an API layer", "fetch data from API", "build a network service", "add URLSession", "implement HTTP requests", "create a REST client", or "set up API calls".

5estrelas
Atualizado há 8 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add jeremieb/swift-unit-test-instructions

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/swift-networking/svg)](https://www.skillteca.com.br/skills/swift-networking)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Swift Networking Layer

Instructions

Step 1: Clarify Requirements

Ask if not already provided:

  • Base URL (can be a placeholder constant)
  • Authentication method: Bearer token, API key in header, OAuth, none
  • Endpoints to implement upfront (or start with the pattern only)
  • Response format: JSON (assumed), XML, or other
  • Error handling needs: retry logic, token refresh, offline support

Step 2: Generate the Core Layer

Generate in Services/Networking/:

**HTTPClientProtocol —

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn