HomeiOS Developmentgraphql - combine iOS Apollo SDK 1.x Model utilizing cocoapods?

graphql – combine iOS Apollo SDK 1.x Model utilizing cocoapods?


I am making an attempt to combine Apollo SDK model 1.x utilizing cocoapods.

I’ve added

pod “Apollo”

in podfile and efficiently downloaded

Apollo (1.0.7) model.

My query is the right way to add(path/listing) schema.graphqls and queries, the right way to generate question lessons(ex : myquery.swift) for my queries.

Utilizing SPM, I’ve performed above course of efficiently utilizing beneath instructions

  • ./apollo-ios-cli init –schema-name GraphQLAPI –module-type
    swiftPackageManager
  • ./apollo-ios-cli generate

Do we’ve any instructions like above, once we use cocoapods?

Can anyone assist.

Thanks prematurely

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments