Latest 0.2.1
Homepage https://github.com/Dan2552/DropboxSync
License MIT
Platforms ios 8.0
Dependencies SwiftyDropbox, SwiftyJSON
Authors

[![CI Status](http://img.shields.io/travis/Daniel Green/DropboxSync.svg?style=flat)](https://travis-ci.org/Daniel Green/DropboxSync)
Version
License
Platform

By implementing the DropboxSyncable protocol methods in your class will make the class syncable via Dropbox:

public protocol DropboxSyncable {
    func uniqueIdentifier() -> String
    func lastUpdatedDate() -> NSDate
    func serializeForSync() -> NSData
    static func deserializeForSync(data: NSData)
}

There are many different ways to "sync" files. DropboxSync will currently, quite naively, replace versions stored in Dropbox with the most recently changed. It’s simple, but for the moment it fulfills my own requirements. Pull requests very welcome.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

DropboxSync is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DropboxSync"

Author

Daniel Inkpen, [email protected]

License

DropboxSync is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DropboxSync",
    "version": "0.2.1",
    "summary": "A easy to implement protocol based sync library build ontop of SwiftyDropbox",
    "description": "By implementing the DropboxSyncable protocol methods in your class will make the class syncable via Dropbox.",
    "homepage": "https://github.com/Dan2552/DropboxSync",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Daniel Inkpen": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Dan2552/DropboxSync.git",
        "tag": "0.2.1"
    },
    "social_media_url": "https://twitter.com/Dan2552",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "DropboxSync/Classes/**/*",
    "dependencies": {
        "SwiftyDropbox": [
            "~> 3.1"
        ],
        "SwiftyJSON": [
            "~> 2.3"
        ]
    }
}

Pin It on Pinterest

Share This