Dropbox-OSX-Sync-SDK 2.1.0-b3

Dropbox-OSX-Sync-SDK 2.1.0-b3

TestsTested
LangLanguage Obj-CObjective C
License Custom
ReleasedLast Release Dec 2014

Maintained by .



  • By
  • Dropbox

Dropbox API SDK for OS X

This is the OS X SDK for the Dropbox API, including the new Dropbox Datastore API.

Requires Mac OS X 10.7+.

Installing

Installation instructions for Dropbox.framework can be found here.

Getting Started

To learn how to build your first app using the Datastore API, follow the OS X Datastore tutorial.

There is also a Sync API tutorial to show you how to read and write files from Dropbox.

Examples

There are two Xcode projects in the Examples directory with examples of how to use the Datastore and File Sync API. All examples require Xcode 5.0+ and OS X 10.7+.

Examples/Files Examples OSX.xcodeproj:

  1. HelloDropbox - Simple app that demonstrates basic functionality of how to link an account, list a folder, and read/write a file.
  2. ImageBrowser - A Finder-like app for image preview that demonstrates how to use the filetypes app permission for accessing only image files, list folders, and retrieve thumbnails for files.
  3. Notes - A note editing app that demonstrates how to link multiple accounts, read and save files, create/delete/move/rename files and folders, and observe files and folders for changes.

Examples/Datastore Examples OSX.xcodeproj:

  1. Tasks - A todo list app that demonstrates how to use the Datastore API for storing/syncing changes to a task list.

Documentation

You can install the Xcode docset by running the following command from this directory:

cp -R com.dropbox.Dropbox.docset ~/Library/Developer/Shared/Documentation/DocSets

Then restart Xcode to complete the installation.