bluwave / SwiftyDropbox

Swift SDK for the Dropbox API v2 preview.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftyDropbox

A Swift SDK for integrating with the Dropbox API v2.

Setup

To get started with SwiftyDropbox, we recommend you add it to your project using CocoaPods.

  1. Install CocoaPods:

    sudo gem install cocoapods
    
  2. If you've never used Cocoapods before, run:

    pod setup
    
  3. In your project directory, create a new file and call it "Podfile". Add the following text to the file:

      platform :ios, '8.0'
      use_frameworks!
      pod 'SwiftyDropbox', '~> 3.0.0'
  4. From the project directory, install the SwiftyDropbox SDK with:

    pod install
    

Creating an application

You need to create an Dropbox Application to make API requests.

Obtaining an access token

All requests need to be made with an OAuth 2 access token. To get started, once you've created an app, you can go to the app's console and generate an access token for your own Dropbox account.

Examples

  • PhotoWatch - View photos from your Dropbox on your Apple Watch.

Read more

Read more about SwiftyDropbox on our developer site.

About

Swift SDK for the Dropbox API v2 preview.

License:MIT License


Languages

Language:Swift 92.9%Language:Objective-C 7.0%Language:Ruby 0.1%