Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Possibility of using this API in an objective-c environment #13

Open
unuigbee opened this issue Aug 21, 2016 · 1 comment
Open

Possibility of using this API in an objective-c environment #13

unuigbee opened this issue Aug 21, 2016 · 1 comment
Labels

Comments

@unuigbee
Copy link

Currently I have an objective-c based project and i'd like use it in my project. I know I can't work with swift structs and enums (unless it's strictly of type int). So i'm wondering how would I go about using this API in my objective-c project?

@podboq
Copy link
Contributor

podboq commented Jan 13, 2017

Hi @unuigbee,
sorry for the late reply.
At this moment we do not plan on making this project objective-c compatible.

What you could do is create a single swift file in your project and import GraphQLicious in that file. This file can then be used as a wrapper that makes only the needed parts visible to the rest of your code and does the rest inside itself.

I hope I could help you.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants