We wrote a Swift library for the ChatGPT API
Feel free to submit a pull request to help grow the library. The library is written in Swift and supports the following platforms: iOS, macOS, tvOS, and watchOS.
link to the library:
GitHub - FuturraGroup/OpenAI: A library that makes it easy to use ChatGPT API
I’m trying to integrate ChatGPT API in my iOS App - Quotes Power App, then I found this which just published in Github 14 hours ago, GREAT!
thx, in the near future, we will add new models and add new functionality. I’m waiting for a star from you on github))
March 21, 2023, 12:33pm
Well done! However, in a production environment, it could be instantly hacked with a MITM attack. To prevent this, support for SSL Pinning should be implemented
yes, you are right. Only the OpenAI API does not support SSL Pinning.
March 21, 2023, 7:28pm
OpenAI supports it;) just follow any guide on the web how to add SSL Pinning to URLSession