An open API service indexing awesome lists of open source software.

https://github.com/apollographql/apollo-ios

πŸ“± Β A strongly-typed, caching GraphQL client for iOS, written in Swift.
https://github.com/apollographql/apollo-ios

apollo-ios apollographql graphql graphql-client ios swift

Last synced: about 1 month ago
JSON representation

πŸ“± Β A strongly-typed, caching GraphQL client for iOS, written in Swift.

Awesome Lists containing this project

README

          


Apollo Logo

Apollo iOS



**The industry-leading GraphQL client in Swift for iOS, macOS, watchOS, tvOS, and visionOS.** Apollo iOS delivers powerful caching, robust code generation, and intuitive APIs to accelerate your app development.

➑️ [**Get Started with Apollo iOS β†’**](https://www.apollographql.com/docs/ios/get-started?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme)





GitHub Action Status


MIT license


Supported Platforms: iOS 15+, macOS 12+, tvOS 15+, watchOS 8+, visionOS 1+



Swift 6.1 supported


Swift Package Manager compatible

## ❓ Why Choose Apollo iOS?

βœ… **Intuitive caching** - Intelligent in-memory or SQLite out of the box

βœ… **Highly configurable code generation** - The days of hand-writing models for network responses are over!

βœ… **Opinionated** - Leads users down the "pit of success" and encourages good practices by default

βœ… **Production-tested** - Powers countless apps worldwide that serve millions of end users

## πŸš€ Quick Start

### Add Apollo iOS to your dependencies list

```swift title="Package.swift"
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.

```swift title="Package.swift"
.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 `Apollo` product.

## πŸ’‘ Resources

| Resource | Description | Link |
| ----- | ----- | ----- |
| **Getting Started Guide** | Complete setup and first query | [Start Here β†’](https://www.apollographql.com/docs/ios/get-started?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) |
| **Full Documentation** | Comprehensive guides and examples | [Read Docs β†’](https://www.apollographql.com/docs/ios?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) |
| **API Reference** | Complete API documentation | [Browse API β†’](https://www.apollographql.com/docs/react/api/apollo-client?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) |
| **VS Code Extension** | Enhanced development experience | [Install Extension β†’](https://marketplace.visualstudio.com/items?itemName=apollographql.vscode-apollo) |
| **DevTools** | Debug your GraphQL apps | [Chrome](https://chrome.google.com/webstore/detail/apollo-client-devtools/jdkknkkbebbapilgoeccciglkfbmbnfm) \| [Firefox](https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/) |
| **Free Course** | Apollo iOS and Swift: Codegen and Queries | [Take Course β†’](https://www.apollographql.com/tutorials/apollo-ios-swift-part1?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) |

## πŸ’¬ Get Support

**Need help?** We're here for you:

* [**Community Forum**](https://community.apollographql.com?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- Q\&A and discussions
* [**GraphQL Discord**](https://discord.graphql.org) \- Real-time chat with the community

## πŸ§‘β€πŸš€ About Apollo

Deliver tomorrow's roadmap today with our comprehensive suite of API orchestration tools:

* [**Apollo Client**](https://www.apollographql.com/docs/react?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- Type-safe apps with GraphQL-powered on-device caching ([React](https://www.apollographql.com/docs/react?utm_medium=github&utm_source=apollographql_apollo-client&utm_campaign=readme), [iOS](https://www.apollographql.com/docs/ios?utm_medium=github&utm_source=apollographql_apollo-client&utm_campaign=readme), [Kotlin](https://www.apollographql.com/docs/kotlin?utm_medium=github&utm_source=apollographql_apollo-client&utm_campaign=readme))
* [**Apollo Connectors**](https://www.apollographql.com/graphos/apollo-connectors?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- Compose all your GraphQL and REST APIs into one GraphQL endpoint
* [**Apollo MCP Server**](https://www.apollographql.com/apollo-mcp-server?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- AI needs APIs. The fastest way to ship reliable AI experiences
* [**Apollo Router**](https://www.apollographql.com/docs/router?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- Scale your APIs seamlessly with GraphQL Federation, Security, Auth, and more
* [**GraphOS**](https://www.apollographql.com/graphos?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme) \- Deploy, manage, govern, and explore your APIs ([start for free, no credit card needed](https://www.apollographql.com/pricing?utm_medium=github&utm_source=apollographql_apollo-client&utm_campaign=readme))

[**Explore the Complete Apollo Platform β†’**](https://www.apollographql.com/?utm_source=github&utm_medium=apollographql-_apollo-client&utm_campaign=readme)

## πŸ› οΈ Maintained by

|Name|Username|
|---|---|
|Anthony Miller|[@anthonymdev](https://github.com/anthonymdev)|
|Calvin Cestari|[@calvincestari](https://github.com/calvincestari)|
|Jeff Auriemma|[@bignimbus](https://github.com/bignimbus)|
|Zach FettersMoore|[@bobafetters](https://github.com/bobafetters)|

## πŸ—ΊοΈ Roadmap

We regularly update our [public roadmap](https://github.com/apollographql/apollo-ios/blob/main/ROADMAP.md) 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](https://docs.google.com/forms/d/e/1FAIpQLSczNDXfJne3ZUOXjk9Ursm9JYvhTh1_nFTDfdq3XBAFWCzplQ/viewform?usp=pp_url&entry.1170701325=Apollo+iOS&entry.204965213=Readme). 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**](https://summit.graphql.com?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme)
Oct 6-8, 2025 β€’ San Francisco
*1000+ engineers, talks, workshops, and office hours*

🌟 [**GraphQLConf 2025**](https://graphql.org/conf/2025)
Sep 8-10, 2025 β€’ Amsterdam
*Celebrating 10 Years of GraphQL*

[**View All Events β†’**](https://www.apollographql.com/events?utm_source=github&utm_medium=apollographql_apollo-client&utm_campaign=readme)

## πŸ† Contributing

Thank you for your interest in submitting a Pull Request to Apollo iOS! Read our [guidelines](https://github.com/apollographql/apollo-ios-dev/blob/main/CONTRIBUTING.md) first, and don't hesitate to get in touch.

**New to open source?** Check out our [**Good First Issues**](https://github.com/apollographql/apollo-ios/labels/good%20first%20issue) to get started.

## 🀝 Code of Conduct

Please read our [Code of Conduct](https://community.apollographql.com/faq). 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](https://github.com/apollographql/apollo-ios/blob/main/LICENSE).