LibraryActive

Apollo iOS

Apollo iOS is an open-source GraphQL client for native iOS and macOS applications written in Swift, with code generation, normalized cache, and networking.

Open source page

Product features

Product features

Cache as source of truth

Cache acts as source of truth for your graph, enabling real-time reactions.

Cache normalization

Normalizes operation results and de-duplicates responses.

Type-safe errors

Exposes GraphQL errors as type-safe Swift errors.

Fragment models

Generates models for GraphQL fragments to share across operations.

GraphQL request handling

Constructs spec-compliant requests, parses responses, and exposes errors.

Schema type models

Generates models for input, enum, and custom scalar types.

Spec-compliant requests

Constructs spec-compliant GraphQL network requests.

Type-safe operation models

Generates pre-generated, operation-specific Swift types for queries and mutations.