Getting Started with Yoli API for iOS 🏃
The Yoli API works well with Cocoa Touch! We use the Yoli API for our own native Yoli iOS app. The Yoli iOS app was natively developed using Swift as the programming language. Of course, the Yoli API can also be used in apps using Objective-C as the programming language. Equally, cross-platform frameworks such as React Native can be used. However, in this section we will describe all the examples using a native Xcode example project.
Setting up Your iOS Project
At first glance, GraphQL looks like a proprietary solution for communication between server and client. However, as with common REST APIs, the API can be addressed via HTTP requests. Thus, using the Yoli API requires no further setup. However, as we describe our examples using Alamofire, we recommend you to use Alamofire as well. But this is not a requirement for using the Yoli API and therefore optional.
Installation of Alamofire [optional]
Alamofire can be installed using CocoaPods, Carthage, Swift Package Manager and also manually.