IOS SDK INIT for Appwrite



    Khalid Khan

    Appwrite companion cookbook

    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
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.