It allows you to execute queries and mutations against a GraphQL server, and returns results as query-specific Swift types. This means you don’t have to deal with parsing JSON, or passing around dictionaries and making clients cast values to the right type manually. You also don't have to write model types yourself, because these are generated from the GraphQL definitions your UI uses. As the generated types are query-specific, you're only able to access data you actually specify as part of a query. If you don't ask for a field, you won't be able to access the corresponding property. In effect, this means you can now rely on the Swift type checker to make sure errors in data access show up at compile time. With our Xcode integration, you can conveniently work with your UI code and corresponding GraphQL definitions side by side, and it will even validate your query documents, and show errors inline.

Features

  • Apollo iOS does more than simply run your queries against a GraphQL server
  • It normalizes query results to construct a client-side cache of your data
  • Your UI is always internally consistent, and can be kept fully up-to-date with the state on the server with the minimum number of queries required
  • This project is being developed using Xcode 14 and Swift 5.7
  • As the generated types are query-specific, you're only able to access data you actually specify as part of a query
  • You also don't have to write model types yourself, because these are generated from the GraphQL definitions your UI uses

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Apollo iOS

Apollo iOS Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Apollo iOS!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Software Development Software

Registered

2023-02-28