Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cromulent

macrumors 604
Original poster
Oct 2, 2006
6,824
1,126
The Land of Hope and Glory
I'm looking into using GraphQL for a new app I want to make on iOS, iPadOS and macOS. I've found Apollo iOS but it is obviously just for iOS and I need to support macOS and iPadOS as well.

I'll be using Swift 6 and the apps will target the current latest versions of each OS. Is there a cross platform framework for GraphQL?

I'd also be interested to hear if there are any alternatives I might not have heard about.
 
Despite the name I don’t see any reason Apollo wouldn’t work for macOS. I’ve not tried but it just seems like a swift package that has no need for a UIKit dependency. If it does for some reason depend on iOS specific libraries or frameworks then you can target macOS catalyst and iPadOS anyway no problem.
 
  • Like
Reactions: Cromulent
Despite the name I don’t see any reason Apollo wouldn’t work for macOS. I’ve not tried but it just seems like a swift package that has no need for a UIKit dependency. If it does for some reason depend on iOS specific libraries or frameworks then you can target macOS catalyst and iPadOS anyway no problem.
Awesome. Thank you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.