Skip to content

apollographql/apollo-ios

Apollo Logo

Apollo iOS

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

➑️ Get Started with Apollo iOS β†’

❓ 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

dependencies: [
    .package(
        url: "https://github.com/apollographql/apollo-ios.git",
        .upToNextMajor(from: "1.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 Apollo product.

πŸ’‘ 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:

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

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

Explore the Complete Apollo Platform β†’

πŸ› οΈ 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

View All Events β†’

πŸ† 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.

About

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

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 218

Languages