-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from appwrite/dev
Dev
- Loading branch information
Showing
115 changed files
with
2,812 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,16 @@ | |
|
||
![Swift Package Manager](https://img.shields.io/github/v/release/appwrite/sdk-for-apple.svg?color=green&style=flat-square) | ||
![License](https://img.shields.io/github/license/appwrite/sdk-for-apple.svg?style=flat-square) | ||
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square) | ||
![Version](https://img.shields.io/badge/api%20version-1.5.0-blue.svg?style=flat-square) | ||
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator) | ||
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite) | ||
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord) | ||
|
||
**This SDK is compatible with Appwrite server version 1.4.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-apple/releases).** | ||
**This SDK is compatible with Appwrite server version 1.5.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-apple/releases).** | ||
|
||
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 Apple 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](https://appwrite.io/docs) | ||
|
||
![Appwrite](https://appwrite.io/images/github.png) | ||
![Appwrite](https://github.com/appwrite/appwrite/raw/main/public/images/github.png) | ||
|
||
## Installation | ||
|
||
|
@@ -31,7 +31,7 @@ Add the package to your `Package.swift` dependencies: | |
|
||
```swift | ||
dependencies: [ | ||
.package(url: "[email protected]:appwrite/sdk-for-apple.git", from: "4.0.2"), | ||
.package(url: "[email protected]:appwrite/sdk-for-apple.git", from: "5.0.0"), | ||
], | ||
``` | ||
|
||
|
@@ -125,9 +125,10 @@ let account = Account(client) | |
|
||
do { | ||
let user = try await account.create( | ||
userId: ID.unique(), | ||
email: "[email protected]", | ||
password: "password" | ||
userId: ID.unique(), | ||
email: "[email protected]", | ||
password: "password", | ||
name: "Walter O'Brien" | ||
) | ||
print(String(describing: user.toMap())) | ||
} catch { | ||
|
@@ -150,9 +151,10 @@ func main() { | |
|
||
do { | ||
let user = try await account.create( | ||
userId: ID.unique(), | ||
email: "[email protected]", | ||
password: "password" | ||
userId: ID.unique(), | ||
email: "[email protected]", | ||
password: "password", | ||
name: "Walter O'Brien" | ||
) | ||
print(String(describing: account.toMap())) | ||
} catch { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.