Apollo

2.4.0

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

What's New

2.4.0

2026-08-20T20:23:07Z

New

  • Expose DatabaseRow properties for SQLiteDatabase extensibility (#1067): DatabaseRow is surfaced through the public SQLiteDatabase protocol, but its stored properties were not publicly accessible, preventing wrapper implementations (encryption, compression, logging) from reusing ApolloSQLiteDatabase through composition. The required DatabaseRow members are now public, so custom SQLiteDatabase implementations can inspect and transform row contents while still leveraging Apollo's existing SQLite implementation. This brings the v1 improvement from #1056 to v2. Thank you to @ErShubhShankar for the contribution.

Improvement

  • Apply additionalCapitalizationRules to generated operation & fragment type names (#1063): A follow-on to #1037, which applied the opt-in additionalCapitalizationRules to property-level names only. The rules now also apply to the generated Swift type names of GraphQL operations and named fragments, so an id β†’ ID rule generates SomethingByIDSubscription instead of SomethingByIdSubscription. The operationName string is unchanged. Generated file names are re-cased to match the type names, and case-only renames are now safe on case-insensitive volumes β€” the pruner skips old paths that differ only by case unless the volume is known to be case-sensitive, and ApolloFileManager renames an existing file whose on-disk name differs only by case before writing. The option remains fully opt-in, so output is unchanged when no rules are configured. Thank you to @3redrubies for the contribution.
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 β†’

❓ 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: "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 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 β†’
AI Skill Apollo iOS agent skill for AI assistants View Skill β†’
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.

Description

  • Swift Tools 6.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Sep 09 2026 13:05:56 GMT-0900 (Hawaii-Aleutian Daylight Time)