apollographql/apollo-ios
π± Β A strongly-typed, caching GraphQL client for iOS, written in Swift.
β Why Choose Apollo iOS?
β Intuitive caching - Intelligent in-memory or SQLite out of the box<br> β Highly configurable code generation - The days of hand-writing models for network responses are over!<br> β Opinionated - Leads users down the "pit of success" and encourages good practices by default<br> β Production-tested - Powers countless apps worldwide that serve millions of end users<br>
π Quick Start
Add Apollo iOS to your dependencies list
dependencies: [
.package(
url: "https://github.com/apollographql/apollo-ios.git",
.upToNextMajor(from: "2.0.0")
),
],Link the Apollo product to your package target
Any targets in your application that will use ApolloClient need to have a dependency on the Apollo product.
.target(
name: "MyApp",
dependencies: [
.product(name: "Apollo", package: "apollo-ios"),
]
)Note: Targets that only use Apollo's generated models don't need to be linked to the
Apolloproduct.
π‘ Resources
| Resource | Description | Link | | ----- | ----- | ----- | | Getting Started Guide | Complete setup and first query | Start Here β | | Full Documentation | Comprehensive guides and examples | Read Docs β | | API Reference | Complete API documentation | Browse API β | | VS Code Extension | Enhanced development experience | Install Extension β | | DevTools | Debug your GraphQL apps | Chrome \| Firefox | | Free Course | Apollo iOS and Swift: Codegen and Queries | Take Course β |
π¬ Get Support
Need help? We're here for you:
- Community Forum \- Q\&A and discussions
- GraphQL Discord \- Real-time chat with the community
π§βπ About Apollo
Deliver tomorrow's roadmap today with our comprehensive suite of API orchestration tools:
- Apollo Client \- Type-safe apps with GraphQL-powered on-device caching (React, iOS, Kotlin)
- Apollo Connectors \- Compose all your GraphQL and REST APIs into one GraphQL endpoint
- Apollo MCP Server \- AI needs APIs. The fastest way to ship reliable AI experiences
- Apollo Router \- Scale your APIs seamlessly with GraphQL Federation, Security, Auth, and more
- GraphOS \- Deploy, manage, govern, and explore your APIs (start for free, no credit card needed)
π οΈ Maintained by
|Name|Username| |---|---| |Anthony Miller|@anthonymdev| |Calvin Cestari|@calvincestari| |Jeff Auriemma|@bignimbus| |Zach FettersMoore|@bobafetters|
πΊοΈ Roadmap
We regularly update our public roadmap with the status of our work-in-progress and upcoming features.
π£ Tell us what you think
| βοΈ Apollo iOS User Survey | | :----- | | What do you like best about Apollo iOS? What needs to be improved? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better. |
ποΈ Events
Join these live events to meet other GraphQL users and learn more:
πͺ GraphQL Summit 2025 Oct 6-8, 2025 β’ San Francisco 1000+ engineers, talks, workshops, and office hours
π GraphQLConf 2025 Sep 8-10, 2025 β’ Amsterdam Celebrating 10 Years of GraphQL
π Contributing
Thank you for your interest in submitting a Pull Request to Apollo iOS! Read our guidelines first, and don't hesitate to get in touch.
New to open source? Check out our Good First Issues to get started.
π€ Code of Conduct
Please read our Code of Conduct. This applies to any space run by Apollo, including our GitHub repositories and the Community Forum. The Code of Conduct reflects our commitment to making the Apollo Community a welcoming and safe space in which individuals can interact.
πͺͺ License
Source code in this repository is available under the terms of the MIT License. Read the full text here.
Package Metadata
Repository: apollographql/apollo-ios
Homepage: https://www.apollographql.com/docs/ios/
Stars: 4036
Forks: 749
Open issues: 88
Default branch: main
Primary language: swift
License: MIT
Topics: apollo-ios, apollographql, graphql, graphql-client, ios, swift
README: README.md