Ecosyste.ms: Awesome
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: 2 days ago
JSON representation
📱 A strongly-typed, caching GraphQL client for iOS, written in Swift.
- Host: GitHub
- URL: https://github.com/apollographql/apollo-ios
- Owner: apollographql
- License: mit
- Created: 2016-07-26T00:24:04.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T19:17:53.000Z (about 2 months ago)
- Last Synced: 2024-10-29T09:55:38.451Z (about 1 month ago)
- Topics: apollo-ios, apollographql, graphql, graphql-client, ios, swift
- Language: Swift
- Homepage: https://www.apollographql.com/docs/ios/
- Size: 219 MB
- Stars: 3,881
- Watchers: 89
- Forks: 723
- Open Issues: 126
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Roadmap: ROADMAP.md
Awesome Lists containing this project
- awesome-ios - apollo-ios - A GraphQL client for iOS. (Representations / Email)
- awesome-macos-libraries - apollo-ios - A strongly-typed, caching GraphQL client. Language: Swift. (Network)
- awesome-graphql - apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift (Libraries / iOS Libraries)
- awesome-ios-star - apollo-ios - A GraphQL client for iOS. (Representations / Email)
- project-awesome - apollographql/apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift. (Swift)
- awesome-starts - apollographql/apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift (Swift)
- awesome-graphql - apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift. (Implementations / iOS)
- awesome-graphql - apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift (Libraries / iOS Libraries)
- awesome - apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift. (iOS / GraphQL)
- awesome - apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift. (iOS / GraphQL)
README
| ☑️ Apollo Clients 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. |### Apollo iOS is a strongly-typed, caching GraphQL client, written in Swift
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.
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, which is kept up to date as further queries and mutations are run. This means 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 combination of models with value semantics, one way data flow, and automatic consistency management, leads to a very powerful and elegant programming model that allows you to eliminate common glue code and greatly simplifies app development.
Apollo iOS aims to comply with the [Working Draft of the GraphQL specification](https://spec.graphql.org/draft/).
## Getting started
If you are new to Apollo iOS we recommend our [Getting Started](https://www.apollographql.com/docs/ios/get-started) guide.
There is also [comprehensive documentation](https://www.apollographql.com/docs/ios/) including an [API reference](https://www.apollographql.com/docs/ios/docc/documentation/index).
### Carthage/XCFramework Support
The Apollo iOS repo no longer contains an Xcode project, as a result if you are using Carthage or need to build XCFrameworks for use in your development environment you will want to use the [apollo-ios-xcframework](https://github.com/apollographql/apollo-ios-xcframework) repo we have created that contains an Xcode project generated with Tuist that can be used for this purpose and is tagged to match the releases of Apollo iOS.
## Releases and changelog
[All releases](https://github.com/apollographql/apollo-ios/releases) are catalogued and we maintain a [changelog](https://github.com/apollographql/apollo-ios/blob/main/CHANGELOG.md) which details all changes to the library.
## Roadmap
The [roadmap](https://github.com/apollographql/apollo-ios/blob/main/ROADMAP.md) is a high-level document that describes the next major steps or milestones for this project. We are always open to feature requests, and contributions from the community.
## Contributing
If you'd like to contribute, please refer to the [Apollo Contributor Guide](https://github.com/apollographql/apollo-ios-dev/blob/main/CONTRIBUTING.md).
## Maintainers
- [@AnthonyMDev](https://github.com/AnthonyMDev)
- [@calvincestari](https://github.com/calvincestari)
- [@bignimbus](https://github.com/bignimbus)
- [@bobafetters](https://github.com/bobafetters)## Who is Apollo?
[Apollo](https://apollographql.com/) builds open-source software and a graph platform to unify GraphQL across your apps and services. We help you ship faster with:
- [Apollo Studio](https://www.apollographql.com/studio/develop/) – A free, end-to-end platform for managing your GraphQL lifecycle. Track your GraphQL schemas in a hosted registry to create a source of truth for everything in your graph. Studio provides an IDE (Apollo Explorer) so you can explore data, collaborate on queries, observe usage, and safely make schema changes.
- [Apollo Federation](https://www.apollographql.com/apollo-federation) – The industry-standard open architecture for building a distributed graph. Use Apollo’s gateway to compose a unified graph from multiple subgraphs, determine a query plan, and route requests across your services.
- [Apollo Client](https://www.apollographql.com/apollo-client/) – The most popular GraphQL client for the web. Apollo also builds and maintains [Apollo iOS](https://github.com/apollographql/apollo-ios) and [Apollo Kotlin](https://github.com/apollographql/apollo-kotlin).
- [Apollo Server](https://www.apollographql.com/docs/apollo-server/) – A production-ready JavaScript GraphQL server that connects to any microservice, API, or database. Compatible with all popular JavaScript frameworks and deployable in serverless environments.## Learn how to build with Apollo
Check out the [Odyssey](https://odyssey.apollographql.com/) learning platform, the perfect place to start your GraphQL journey with videos and interactive code challenges. Join the [Apollo Community](https://community.apollographql.com/) to interact with and get technical help from the GraphQL community.