Skip to content

Commit

Permalink
feat(version): support 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenDittmann committed Oct 18, 2021
1 parent 3eba0c7 commit 2ef8801
Show file tree
Hide file tree
Showing 225 changed files with 5,174 additions and 4,852 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**CHANGELOG**
# Change Log
13 changes: 12 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
test test test
Copyright (c) 2021 Appwrite (https://appwrite.io) and individual contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name Appwrite nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 changes: 13 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,29 @@ let package = Package(
products: [
.library(
name: "Appwrite",
targets: ["Appwrite"]
targets: ["Appwrite", "AppwriteModels"]
),
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"),
.package(url: "https://github.com/abnegate/swockets.git", .branch("develop"))
.package(url: "https://github.com/apple/swift-nio.git", from: "2.32.0")
],
targets: [
.target(
name: "Appwrite",
dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
"Swockets"
.product(name: "NIOWebSocket", package: "swift-nio"),
"AppwriteModels"
]
),
.target(
name: "AppwriteModels"
),
.testTarget(
name: "AppwriteTests",
dependencies: [
"Appwrite"
]
)
],
Expand Down
43 changes: 30 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,66 @@
# Appwrite Apple SDK

![Swift Package Manager](https://img.shields.io/github/v/release/repoowner/reponame.svg?color=green&style=flat-square)
![License](https://img.shields.io/github/license/repoowner/reponame.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-0.8.0-blue.svg?style=flat-square)
![Cocoapods](https://img.shields.io/cocoapods/v/Appwrite.svg?color=green&style=flat-square)
![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-0.11.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_io?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite_io)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)

**WORK IN PROGRESS - NOT READY FOR USAGE**
**This SDK is compatible with Appwrite server version 0.11.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-apple/releases).**

![Appwrite](https://appwrite.io/v1/images/console.png)
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)

## Installation

### Xcode with Swift Package Manager

The Appwrite Swift SDK is available via multiple package managers, including Swift Package Manager. In order to use the Appwrite Swift SDK from Xcode, select File > Swift Packages > **Add Package Dependency**

In the dialog that appears, enter the Appwrite Swift SDK [package URL]() and click **Next**.
>>IMAGE<<
In the dialog that appears, enter the Appwrite Swift SDK [package URL]([email protected]:appwrite/sdk-for-apple.git) and click **Next**.

Once the repository information is loaded, add your version rules and click **Next** again.

>>IMAGE<<
On the final screen, make sure you see `Appwrite` as a product selected for your target:

>>IMAGE<<
### Swift Package Manager

Add the package to your `Package.swift` dependencies:

```swift
dependencies: [
.package(url: "https://github.com/appwrite/sdk-for-apple", from: "0.0.1"),
.package(url: "git@github.com:appwrite/sdk-for-apple.git", from: "0.1.0"),
],
```

Then add it to your target:

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

### Cocoapods

```ruby
pod '', git: '[email protected]:appwrite/sdk-for-apple.git', tag: '0.1.0'
```


## Contribution

This library is auto-generated by Appwrite custom [SDK Generator](https://github.com/appwrite/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.
Expand Down
Loading

0 comments on commit 2ef8801

Please sign in to comment.