Displaying 1 to 2 from 2 results

apollo-ios - 📱 A strongly-typed, caching GraphQL client for iOS, written in Swift

  •    Swift

Apollo iOS is a strongly-typed, caching GraphQL client for iOS, 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.

ApolloAlamofire - Alamofire transport for Apollo iOS GraphQL library

  •    Swift

Fortunately, Apollo iOS provides a public NetworkTransport protocol that allows us to override behaviour that's limited. Looks like Alamofire is the most popular iOS networking library and all of the mentioned limitations can be solved with it. You also probably use Alamofire anyway to acquire authentication tokens for your GraphQL API, so it makes sense to integrate both Alamofire and Apollo iOS. This package bundles a NetworkTransport implementation that wraps Alamofire and solves these limitations.