Kodeco Forums

Getting started with GraphQL & Apollo on iOS

A GraphQL API is an alternative to a REST API. Learn how to interact with a GraphQL API using Apollo in this tutorial for iOS.

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/595-getting-started-with-graphql-apollo-on-ios

Sir, I just create the GraphQL by your tutorial it successfully implements in your project that given on site but as I follow these steps in my project It generate blank API.swift file instead of mutations

Can you explain how the mutation AttendConference and NotAttendConference work?

Please update the article. It looks like there may have been some breaking changes to Graphcool and/or Apollo. Iโ€™m trying to go through your tutorial and canโ€™t get things to work, as of 10/26/2017.
For example, this doesnโ€™t work: graphcool init --schema http://graphqlbin.com/conferences.graphql --name ConferencePlanner
I got an error about the schema flag being unknown. I seem to have gotten past that by updating my Apollo dependency to: pod 'Apollo', '~> 0.7.0'.

1 Like

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]