0
0
KKKhalid Khan
This code creates a new client instance with the given parameters. The client will use the given endpoint and project ID to connect to your appwrite API. The self-signed status will allow you to use this client only for development purposes.
Shortcut: appwrite.ios.init
import Appwrite
let client = Client()
.setEndpoint("API_ENDPOINT") // Your API Endpoint
.setProject("PROJECT_ID") // Your project ID
.setSelfSigned(status: true) // For self signed certificates, only use for development