owncloud / ios-sdk

📱 📦 iOS SDK for ownCloud
GNU General Public License v3.0
10 stars 8 forks source link

ownCloud iOS SDK

Introduction

A new, modern ownCloud iOS SDK.

Architecture

(this section is not entirely up-to-date)

New architecture

The iOS SDK comes as a framework that is easy to integrate and encapsulates all needed code and resources.

OCCore / OCConnection event handling, background transfers & persisting associated data

A hybrid solution is needed to fully leverage background transfers while making a rich, block-based API available. The OCEvent set of classes and types offers a solution for this.

Here's how it works:

For background transfers, where the app could be terminated while a background NSURLSession still processes requests:

Note: since OCEventTarget handles the resolution and actual delivery of the event to the target, support for different mechanisms (f.ex. direct delivery to a block) can be added relatively easy through subclassing.

License

This project is currently licensed under GPL v3. We do provide support as well as an option for a dual-licensing as part of our ownCloud Enterprise subscriptions. Please contact info@owncloud.com for more information.