Swiftpack.co - appwrite/sdk-for-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by appwrite.
appwrite/sdk-for-swift 0.6.0
[READ-ONLY] Official Appwrite Swift SDK 🦅🍎
⭐️ 23
🕓 6 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/appwrite/sdk-for-swift.git", from: "0.6.0")

Appwrite Swift SDK

Swift Package Manager License Version Build Status Twitter Account Discord

This SDK is compatible with Appwrite server version 0.15.x. For older versions, please check previous releases.

This is the Swift SDK for integrating with Appwrite from your Swift server-side code. If you're looking for the Apple SDK you should check appwrite/sdk-for-apple

Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Swift SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to https://appwrite.io/docs

Appwrite

Installation

Xcode with Swift Package Manager

The Appwrite Swift SDK is available via Swift Package Manager. In order to use the Appwrite Swift SDK from Xcode, select File > Add Packages

In the dialog that appears, enter the Appwrite Swift SDK package URL in the search field. Once found, select sdk-for-apple.

On the right, select your version rules and ensure your desired target is selected in the Add to Project field.

Now click add package and you're done!

Swift Package Manager

Add the package to your Package.swift dependencies:

    dependencies: [
        .package(url: "git@github.com:appwrite/sdk-for-swift.git", from: "0.6.0"),
    ],

Then add it to your target:

    targets: [
        .target(
            name: "YourAppTarget",
            dependencies: [
                .product(name: "", package: "sdk-for-swift")
            ]
        ),

Contribution

This library is auto-generated by Appwrite custom SDK Generator. To learn more about how you can help us improve this SDK, please check the contribution guide before sending a pull-request.

License

Please see the BSD-3-Clause license file for more information.

GitHub

link
Stars: 23
Last commit: 6 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.6.0
6 weeks ago
  • Support for Appwrite 0.15
  • BREAKING Database -> Databases
  • BREAKING account.createSession() -> account.createEmailSession()
  • BREAKING dateCreated attribute removed from Team, Execution, File models
  • BREAKING dateCreated and dateUpdated attribute removed from Func, Deployment, Bucket models

Full Changelog for Appwrite 0.15 can be found here: https://github.com/appwrite/appwrite/blob/master/CHANGES.md#version-0150

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics