Integration with iOS

This document explains how to integrate an iOS app with microCMS using the microcms-ios-sdk.
The SDK primarily utilizes features for accessing the microCMS GET API and supports fetching drafts as well.
microCMS is developed not only for Swift but also for various languages and frameworks.
To install the SDK, select "File > Swift Packager > Add Package Dependency..." from the Xcode menu and specify the following URL.
https://github.com/microcmsio/microcms-ios-sdk
Here is an example of the initialization code.
import MicrocmsSDK
let client = MicrocmsClient(serviceDomain: "<YOUR_SERVICE>", apiKey: "<YOUR_API_KEY>")
//<YOUR_SERVICE> is the XXXX part of https://XXXX.microcms.ioContents
- None